summaryrefslogtreecommitdiff
path: root/cogl/driver/gl/cogl-texture-driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/driver/gl/cogl-texture-driver.c')
-rw-r--r--cogl/driver/gl/cogl-texture-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/driver/gl/cogl-texture-driver.c b/cogl/driver/gl/cogl-texture-driver.c
index 742fab80..4e54babd 100644
--- a/cogl/driver/gl/cogl-texture-driver.c
+++ b/cogl/driver/gl/cogl-texture-driver.c
@@ -346,7 +346,7 @@ _cogl_texture_driver_allows_foreign_gl_target (GLenum gl_target)
(for example, no mipmapping and complicated shader support) */
/* Allow 2-dimensional or rectangle textures only */
- if (gl_target != GL_TEXTURE_2D && gl_target != CGL_TEXTURE_RECTANGLE_ARB)
+ if (gl_target != GL_TEXTURE_2D && gl_target != GL_TEXTURE_RECTANGLE_ARB)
return FALSE;
return TRUE;