From b80d5c81429097ede587906ce1b314a38af80012 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. --- clutter/cogl/cogl/driver/gles/cogl-feature-functions-gles.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/cogl/cogl/driver/gles/cogl-feature-functions-gles.h b/clutter/cogl/cogl/driver/gles/cogl-feature-functions-gles.h index cd3540ecd..b70b13b43 100644 --- a/clutter/cogl/cogl/driver/gles/cogl-feature-functions-gles.h +++ b/clutter/cogl/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 |