[cogl/wip/rib/master-next: 15/36] Remove beneign GL_MESA_ycbcr_texture check



commit a2fab99c4853e8538208a246d375d85be7dc555d
Author: Robert Bragg <robert linux intel com>
Date:   Wed Oct 12 22:32:27 2011 +0100

    Remove beneign GL_MESA_ycbcr_texture check
    
    Actual support for yuv textures isn't fully plumbed into Cogl currently
    so the check for GL_MESA_ycbcr_texture is meaningless. For now we just
    remove the check.

 cogl/driver/gl/cogl-gl.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/cogl/driver/gl/cogl-gl.c b/cogl/driver/gl/cogl-gl.c
index cc0cca1..a651429 100644
--- a/cogl/driver/gl/cogl-gl.c
+++ b/cogl/driver/gl/cogl-gl.c
@@ -177,13 +177,6 @@ _cogl_gl_update_features (CoglContext *context,
         | COGL_FEATURE_TEXTURE_NPOT_REPEAT;
     }
 
-#ifdef GL_YCBCR_MESA
-  if (_cogl_check_extension ("GL_MESA_ycbcr_texture", gl_extensions))
-    {
-      flags |= COGL_FEATURE_TEXTURE_YUV;
-    }
-#endif
-
   if (_cogl_check_extension ("GL_MESA_pack_invert", gl_extensions))
     private_flags |= COGL_PRIVATE_FEATURE_MESA_PACK_INVERT;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]