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. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
parent
d3114b168a
commit
6da3bff9b9
@ -177,13 +177,6 @@ _cogl_gl_update_features (CoglContext *context,
|
|||||||
| COGL_FEATURE_TEXTURE_NPOT_REPEAT;
|
| 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))
|
if (_cogl_check_extension ("GL_MESA_pack_invert", gl_extensions))
|
||||||
private_flags |= COGL_PRIVATE_FEATURE_MESA_PACK_INVERT;
|
private_flags |= COGL_PRIVATE_FEATURE_MESA_PACK_INVERT;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user