diff --git a/clutter/cogl/cogl/cogl-texture-3d.c b/clutter/cogl/cogl/cogl-texture-3d.c index 59d4aeda1..ff5a96eee 100644 --- a/clutter/cogl/cogl/cogl-texture-3d.c +++ b/clutter/cogl/cogl/cogl-texture-3d.c @@ -49,6 +49,7 @@ #endif #define glTexImage3D ctx->drv.pf_glTexImage3D +#define glTexSubImage3D ctx->drv.pf_glTexSubImage3D static void _cogl_texture_3d_free (CoglTexture3D *tex_3d); diff --git a/clutter/cogl/cogl/driver/gl/cogl-feature-functions.h b/clutter/cogl/cogl/driver/gl/cogl-feature-functions.h index 997dd20a2..6b184f4a5 100644 --- a/clutter/cogl/cogl/driver/gl/cogl-feature-functions.h +++ b/clutter/cogl/cogl/driver/gl/cogl-feature-functions.h @@ -356,6 +356,13 @@ COGL_FEATURE_FUNCTION (void, glTexImage3D, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)) +COGL_FEATURE_FUNCTION (void, glTexSubImage3D, + (GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLint zoffset, GLsizei width, + GLsizei height, GLsizei depth, + GLenum format, + GLenum type, const GLvoid *pixels)) COGL_FEATURE_END () /* Available in GL 1.3 or the multitexture extension. These are