mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
cogl: Fix HAVE_COGL_GL guard
Macro was only defined when defined to 1.
This commit is contained in:
parent
d68fcbc887
commit
331e830cf6
@ -478,7 +478,7 @@ _cogl_texture_driver_size_supported (CoglContext *ctx,
|
|||||||
|
|
||||||
if (gl_target == GL_TEXTURE_2D)
|
if (gl_target == GL_TEXTURE_2D)
|
||||||
proxy_target = GL_PROXY_TEXTURE_2D;
|
proxy_target = GL_PROXY_TEXTURE_2D;
|
||||||
#if HAVE_COGL_GL
|
#ifdef HAVE_COGL_GL
|
||||||
else if (gl_target == GL_TEXTURE_RECTANGLE_ARB)
|
else if (gl_target == GL_TEXTURE_RECTANGLE_ARB)
|
||||||
proxy_target = GL_PROXY_TEXTURE_RECTANGLE_ARB;
|
proxy_target = GL_PROXY_TEXTURE_RECTANGLE_ARB;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user