Add missing glColorMaterial definition
This commit is contained in:
parent
17c9699966
commit
e68c051991
|
@ -223,7 +223,7 @@ void APIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void glColorMaterial(GLenum face, GLenum mode) {
|
void APIENTRY glColorMaterial(GLenum face, GLenum mode) {
|
||||||
if(face != GL_FRONT_AND_BACK) {
|
if(face != GL_FRONT_AND_BACK) {
|
||||||
_glKosThrowError(GL_INVALID_ENUM, __func__);
|
_glKosThrowError(GL_INVALID_ENUM, __func__);
|
||||||
_glKosPrintError();
|
_glKosPrintError();
|
||||||
|
|
|
@ -590,6 +590,7 @@ GLAPI void APIENTRY glLightModeliv(GLenum pname, const GLint *params);
|
||||||
GLAPI void APIENTRY glMateriali(GLenum face, GLenum pname, const GLint param);
|
GLAPI void APIENTRY glMateriali(GLenum face, GLenum pname, const GLint param);
|
||||||
GLAPI void APIENTRY glMaterialf(GLenum face, GLenum pname, const GLfloat param);
|
GLAPI void APIENTRY glMaterialf(GLenum face, GLenum pname, const GLfloat param);
|
||||||
GLAPI void APIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
|
GLAPI void APIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
|
||||||
|
GLAPI void APIENTRY glColorMaterial(GLenum face, GLenum mode);
|
||||||
|
|
||||||
/* glGet Functions */
|
/* glGet Functions */
|
||||||
GLAPI void APIENTRY glGetBooleanv(GLenum pname, GLboolean* params);
|
GLAPI void APIENTRY glGetBooleanv(GLenum pname, GLboolean* params);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user