diff --git a/GL/state.c b/GL/state.c index 4b48966..3cfc590 100644 --- a/GL/state.c +++ b/GL/state.c @@ -531,6 +531,12 @@ void glPolygonOffset(GLfloat factor, GLfloat units) { OFFSET_UNITS = units; } +void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) { + _GL_UNUSED(target); + _GL_UNUSED(pname); + _GL_UNUSED(params); +} + void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) { _GL_UNUSED(target); _GL_UNUSED(pname); diff --git a/include/GL/gl.h b/include/GL/gl.h index 482c9ae..c71de9d 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -657,7 +657,8 @@ GLAPI GLenum APIENTRY glGetError(void); GLAPI void APIENTRY glAlphaFunc(GLenum func, GLclampf ref); GLAPI void APIENTRY glLineWidth(GLfloat width); GLAPI void APIENTRY glPolygonOffset(GLfloat factor, GLfloat units); -GLAPI void APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint * params); +GLAPI void APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint *params); GLAPI void APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); GLAPI void APIENTRY glPixelStorei(GLenum pname, GLint param);