mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
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:
parent
b282cea71b
commit
f530e5f782
2 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue