mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
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
This commit is contained in:
parent
f95cdfc11e
commit
270e1e8188
@ -37,6 +37,10 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_COGL_GL
|
||||||
|
#define glActiveTexture _context->drv.pf_glActiveTexture
|
||||||
|
#endif
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
_cogl_create_context_driver (CoglContext *context);
|
_cogl_create_context_driver (CoglContext *context);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user