cogl-texture-3d: Use glTexSubImage3D through an indirect pointer
glTexSubImage3D was being called directly in cogl-texture-3d.c but the function is only available since GL version 1.2 so on Windows it won't be possible to directly link to it. Also under GLES it is only available conditionally in an extension.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user