From 5a73e20a15ea0b84a1788a70e23d8814eb4519af Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Fri, 18 Jun 2010 15:25:51 +0100 Subject: [PATCH] cogl-context: Use the function pointer for glActiveUnit Under WGL, any functions that were defined after GL 1.1 are not directly exported in the DLL so we need to reference them via the function pointers. A new call to glActiveUnit was missed in cogl-context.c --- clutter/cogl/cogl/cogl-context.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clutter/cogl/cogl/cogl-context.c b/clutter/cogl/cogl/cogl-context.c index 585e124f0..83453f905 100644 --- a/clutter/cogl/cogl/cogl-context.c +++ b/clutter/cogl/cogl/cogl-context.c @@ -37,6 +37,10 @@ #include +#ifdef HAVE_COGL_GL +#define glActiveTexture _context->drv.pf_glActiveTexture +#endif + extern void _cogl_create_context_driver (CoglContext *context);