mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
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.
This commit is contained in:
parent
26628553ed
commit
6c8b8cef9e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user