1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00
ladybird/Userland/Libraries/LibGL
Luke Wilde 971d6ce16f LibGL: Reject GL_LEFT and GL_RIGHT in glCullFace
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.
2022-06-04 22:25:16 +01:00
..
GL LibGL+LibGPU+LibSoftGPU: Implement and expose glClipPlane 2022-05-11 23:09:47 +02:00
Tex LibGL: Add border_color to Sampler2D 2022-04-09 11:40:33 +02:00
ClipPlanes.cpp LibGL+LibGPU+LibSoftGPU: Implement and expose glClipPlane 2022-05-11 23:09:47 +02:00
CMakeLists.txt LibGL+LibGPU+LibSoftGPU: Implement and expose glClipPlane 2022-05-11 23:09:47 +02:00
ContextParameter.cpp LibGL+LibGPU+LibSoftGPU: Implement and expose glClipPlane 2022-05-11 23:09:47 +02:00
GLAPI.cpp LibGL+LibGPU+LibSoftGPU: Implement and expose glClipPlane 2022-05-11 23:09:47 +02:00
GLContext.cpp LibGL: Reject GL_LEFT and GL_RIGHT in glCullFace 2022-06-04 22:25:16 +01:00
GLContext.h LibGL+LibGPU+LibSoftGPU: Implement and expose glClipPlane 2022-05-11 23:09:47 +02:00
Lighting.cpp LibGL: Split up GLContext implementation into logical units 2022-05-05 20:50:14 +02:00
Lists.cpp LibGL: Split up GLContext implementation into logical units 2022-05-05 20:50:14 +02:00
Matrix.cpp LibGL: Split up GLContext implementation into logical units 2022-05-05 20:50:14 +02:00
Stencil.cpp LibGL: Split up GLContext implementation into logical units 2022-05-05 20:50:14 +02:00
Textures.cpp LibGL: Check that texture name is allocated before marking it as free 2022-06-02 13:14:39 +02:00
Vertex.cpp LibGL: Split up GLContext implementation into logical units 2022-05-05 20:50:14 +02:00