Add glGetTexParameterfv() stub to increase compatibility

This commit is contained in:
T_chan 2022-01-18 17:38:14 +00:00
parent b710a619d5
commit d594eff3a6
2 changed files with 8 additions and 1 deletions

View File

@ -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);

View File

@ -654,7 +654,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);