summaryrefslogtreecommitdiff
path: root/cogl/driver/gl/cogl-texture-2d-gl.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2016-01-12 17:35:06 -0500
committerRay Strode <rstrode@redhat.com>2016-01-12 17:35:06 -0500
commitf19a275b44d84982828dfac64033e487130c2760 (patch)
tree0ba39a02dfe1de74e5683b18d1b7578607749bb5 /cogl/driver/gl/cogl-texture-2d-gl.c
parent3e72da3eb1260166a3d1709f6dd71db8b3a97625 (diff)
downloadcogl-wip/rstrode/prepare-for-mutter-merge.tar.gz
Diffstat (limited to 'cogl/driver/gl/cogl-texture-2d-gl.c')
-rw-r--r--cogl/driver/gl/cogl-texture-2d-gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/driver/gl/cogl-texture-2d-gl.c b/cogl/driver/gl/cogl-texture-2d-gl.c
index 8675f520..78295553 100644
--- a/cogl/driver/gl/cogl-texture-2d-gl.c
+++ b/cogl/driver/gl/cogl-texture-2d-gl.c
@@ -612,7 +612,7 @@ _cogl_texture_2d_gl_generate_mipmap (CoglTexture2D *tex_2d)
GL_GENERATE_MIPMAP and reuploading the first pixel */
if (cogl_has_feature (ctx, COGL_FEATURE_ID_OFFSCREEN))
_cogl_texture_gl_generate_mipmaps (COGL_TEXTURE (tex_2d));
-#if defined(HAVE_COGL_GLES) || defined(HAVE_COGL_GL)
+#if defined(HAVE_COGL_GL)
else
{
_cogl_bind_gl_texture_transient (GL_TEXTURE_2D,