Merge branch 'add_glGetTexParameterfv_stub' into 'master'

Add glGetTexParameterfv() stub to increase compatibility

See merge request simulant/GLdc!76
This commit is contained in:
Luke Benstead 2022-01-18 19:25:39 +00:00
commit 11860ba6e1
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

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