Added a glCopyTexSubImage2D stub.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2363 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2006-07-18 22:25:41 +00:00
parent b282cea71b
commit f530e5f782
2 changed files with 11 additions and 0 deletions

View file

@ -91,6 +91,9 @@ static void *TinyGL_GetSymbol(char *name)
else if (strcmp(name, "glCopyTexImage2D") == 0)
ret = stub_glCopyTexImage2D;
else if (strcmp(name, "glCopyTexSubImage2D") == 0)
ret = stub_glCopyTexSubImage2D;
else if (strcmp(name, "glCullFace") == 0)
ret = stub_glCullFace;

View file

@ -94,6 +94,14 @@ void stub_glCopyTexImage2D(GLenum target, GLint level, GLenum internalFormat, GL
#endif
}
void stub_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
{
#warning Not implemented
#if 0
glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
#endif
}
void stub_glCullFace(GLenum mode)
{
glCullFace(mode);