From d0739ca0ba4d1b8c5961f4e38021d653edd5acc0 Mon Sep 17 00:00:00 2001 From: James Athey Date: Mon, 11 Apr 2011 14:26:45 -0400 Subject: [PATCH] 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. --- cogl/driver/gles/cogl-feature-functions-gles.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/driver/gles/cogl-feature-functions-gles.h b/cogl/driver/gles/cogl-feature-functions-gles.h index cd3540ecd..b70b13b43 100644 --- a/cogl/driver/gles/cogl-feature-functions-gles.h +++ b/cogl/driver/gles/cogl-feature-functions-gles.h @@ -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 |