Add glGetTexImage stub for portability

This commit is contained in:
T_chan 2022-01-31 08:29:00 +00:00
parent 9506237c47
commit 621982d14e
2 changed files with 9 additions and 0 deletions

View File

@ -1651,3 +1651,11 @@ GLAPI GLvoid APIENTRY glDefragmentTextureMemory_KOS(void) {
yalloc_defrag_commit(YALLOC_BASE); yalloc_defrag_commit(YALLOC_BASE);
} }
GLAPI void APIENTRY glGetTexImage(GLenum tex, GLint lod, GLenum format, GLenum type, GLvoid* img) {
_GL_UNUSED(tex);
_GL_UNUSED(lod);
_GL_UNUSED(format);
_GL_UNUSED(type);
_GL_UNUSED(img);
}

View File

@ -684,6 +684,7 @@ GLAPI void APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue,
GLAPI void APIENTRY glPixelStorei(GLenum pname, GLint param); GLAPI void APIENTRY glPixelStorei(GLenum pname, GLint param);
GLAPI void APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask); GLAPI void APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask);
GLAPI void APIENTRY glStencilOp(GLenum sfail, GLenum dpfail, GLenum dppass); GLAPI void APIENTRY glStencilOp(GLenum sfail, GLenum dpfail, GLenum dppass);
GLAPI void APIENTRY glGetTexImage(GLenum tex, GLint lod, GLenum format, GLenum type, GLvoid* img);
__END_DECLS __END_DECLS