diff --git a/cogl/cogl-material.c b/cogl/cogl-material.c index 2a0449163..11cd52e75 100644 --- a/cogl/cogl-material.c +++ b/cogl/cogl-material.c @@ -1992,7 +1992,7 @@ gl_target_to_arbfp_string (GLenum gl_target) #endif if (gl_target == GL_TEXTURE_2D) return "2D"; -#ifdef ARB_texture_rectangle +#ifdef GL_ARB_texture_rectangle else if (gl_target == GL_TEXTURE_RECTANGLE_ARB) return "RECT"; #endif