mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
LibGL: Add stub for glColorMaterial
This commit is contained in:
parent
6e64ad829a
commit
57b1dcbec9
2 changed files with 7 additions and 0 deletions
|
@ -461,6 +461,7 @@ GLAPI void glColor4fv(const GLfloat* v);
|
|||
GLAPI void glColor4ub(GLubyte r, GLubyte g, GLubyte b, GLubyte a);
|
||||
GLAPI void glColor4ubv(const GLubyte* v);
|
||||
GLAPI void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
|
||||
GLAPI void glColorMaterial(GLenum face, GLenum mode);
|
||||
GLAPI void glDeleteTextures(GLsizei n, const GLuint* textures);
|
||||
GLAPI void glEnd();
|
||||
GLAPI void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearVal, GLdouble farVal);
|
||||
|
|
|
@ -11,6 +11,12 @@
|
|||
|
||||
extern GL::GLContext* g_gl_context;
|
||||
|
||||
void glColorMaterial(GLenum face, GLenum mode)
|
||||
{
|
||||
// FIXME: implement
|
||||
dbgln_if(GL_DEBUG, "glColorMaterial({:#x}, {:#x}): unimplemented", face, mode);
|
||||
}
|
||||
|
||||
void glLightf(GLenum light, GLenum pname, GLfloat param)
|
||||
{
|
||||
// FIXME: implement
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue