1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

LibGL: Uncrash glMaterialf on invalid input

We should handle this in the context.
This commit is contained in:
Jelle Raaijmakers 2021-12-24 14:45:32 +01:00 committed by Andreas Kling
parent 9e9e1c7634
commit 688adba1a8

View file

@ -41,7 +41,6 @@ void glLightModelfv(GLenum pname, GLfloat const* params)
void glMaterialf(GLenum face, GLenum pname, GLfloat param)
{
VERIFY(face == GL_SHININESS);
g_gl_context->gl_materialv(face, pname, &param);
}