cogl: Fix HAVE_COGL_GL guard

Macro was only defined when defined to 1.
This commit is contained in:
Jonas Ådahl 2018-05-21 22:37:18 +02:00
parent d68fcbc887
commit 331e830cf6

View File

@ -478,7 +478,7 @@ _cogl_texture_driver_size_supported (CoglContext *ctx,
if (gl_target == GL_TEXTURE_2D)
proxy_target = GL_PROXY_TEXTURE_2D;
#if HAVE_COGL_GL
#ifdef HAVE_COGL_GL
else if (gl_target == GL_TEXTURE_RECTANGLE_ARB)
proxy_target = GL_PROXY_TEXTURE_RECTANGLE_ARB;
#endif