Misleading message for invalid bitfield in supportedBits()
Open
- Dominant language
- Go
- Stars
- 2.2k
- Forks
- 329
- PR merge metrics
- No merged PRs in 30d
Description
The command `glClear(GL_ARRAY_BUFFER)` leads to the following error message:
```
Invalid value 0. It must be 34962.
```
This comes from the call to supportsBits() in the implem of glClear. supportsBits() should be updated in order to provide an error message closer to:
```
Invalid value for bitfield. Possible values are: GL_[...]
```
Contributor guide
Assessment
This issue has not been assessed yet.