diff --git a/common/cogl.c b/common/cogl.c index 9c92cdab7..bfd2aac6c 100644 --- a/common/cogl.c +++ b/common/cogl.c @@ -48,6 +48,10 @@ typedef CoglFuncPtr (*GLXGetProcAddressProc) (const guint8 *procName); #include "cogl-gles2-wrapper.h" #endif +#ifdef HAVE_COGL_GL +#define glClientActiveTexture ctx->pf_glClientActiveTexture +#endif + #ifdef COGL_GL_DEBUG /* GL error to string conversion */ static const struct { diff --git a/gl/cogl-primitives.c b/gl/cogl-primitives.c index bdc24f709..0c2f6551e 100644 --- a/gl/cogl-primitives.c +++ b/gl/cogl-primitives.c @@ -37,6 +37,8 @@ #define _COGL_MAX_BEZ_RECURSE_DEPTH 16 +#define glClientActiveTexture ctx->pf_glClientActiveTexture + void _cogl_path_add_node (gboolean new_sub_path, float x,