diff --git a/engine/gl/gl_vidmorphos.c b/engine/gl/gl_vidmorphos.c index 5d9bf37ce..3757f2fc4 100644 --- a/engine/gl/gl_vidmorphos.c +++ b/engine/gl/gl_vidmorphos.c @@ -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; diff --git a/engine/gl/gl_vidtinyglstubs.c b/engine/gl/gl_vidtinyglstubs.c index 609732c46..7e75a687f 100644 --- a/engine/gl/gl_vidtinyglstubs.c +++ b/engine/gl/gl_vidtinyglstubs.c @@ -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);