GL_IMG_TEXTURE_NPOT extension enables TEXTURE_NPOT features on GLES

Older drivers for PowerVR SGX hardware have the vendor-specific
GL_IMG_TEXTURE_NPOT extension instead of the
functionally-equivalent GL_OES_TEXTURE_NPOT extension.
This commit is contained in:
James Athey 2011-04-11 14:26:45 -04:00 committed by Robert Bragg
parent 5e530ca9bb
commit d0739ca0ba

View File

@ -100,7 +100,7 @@ COGL_FEATURE_BEGIN (element_index_uint, 255, 255,
COGL_FEATURE_END ()
COGL_FEATURE_BEGIN (texture_npot, 255, 255,
"OES\0",
"OES\0IMG\0",
"texture_npot\0",
COGL_FEATURE_TEXTURE_NPOT |
COGL_FEATURE_TEXTURE_NPOT_BASIC |