mirror of
https://github.com/RGBCube/serenity
synced 2026-01-21 21:01:00 +00:00
glCullFace only accepts GL_FRONT, GL_BACK and GL_FRONT_AND_BACK. We checked if the mode was valid by performing ``` cull_mode < GL_FRONT || cull_mode > GL_FRONT_AND_BACK ``` However, this range also contains GL_LEFT and GL_RIGHT, which we would accept when we should return a GL_INVALID_ENUM error. |
||
|---|---|---|
| .. | ||
| GL | ||
| Tex | ||
| ClipPlanes.cpp | ||
| CMakeLists.txt | ||
| ContextParameter.cpp | ||
| GLAPI.cpp | ||
| GLContext.cpp | ||
| GLContext.h | ||
| Lighting.cpp | ||
| Lists.cpp | ||
| Matrix.cpp | ||
| Stencil.cpp | ||
| Textures.cpp | ||
| Vertex.cpp | ||