From 6c8b8cef9e202ab1dd5c5a6894dcdb16c86d1b9b Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 15 Jun 2010 14:26:37 +0100 Subject: [PATCH] material: fix #ifdef guard around use of _TEXTURE_RECTANGLE We were incorrectly guarding the use of GL_TEXTURE_RECTANGLE_ARB with ifdef ARB_texture_rectangle instead of ifdef GL_ARB_texture_rectangle which broke test-cogl-texture-rectangle. --- cogl/cogl-material.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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