mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09: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 |