summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Athey <james.athey@unleashbts.com>2011-04-11 14:26:45 -0400
committerRobert Bragg <robert@linux.intel.com>2011-04-13 14:41:35 +0100
commit523a6c0820249cd934dff9ca4e0b1e3a86f30679 (patch)
tree52fd5be2af080885e5ef46f94a5ff61181e532e6
parentfd33dd0668dfc6fbc935ffba824246200a87a5e0 (diff)
downloadclutter-523a6c0820249cd934dff9ca4e0b1e3a86f30679.tar.gz
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. (cherry picked from commit b80d5c81429097ede587906ce1b314a38af80012)
-rw-r--r--clutter/cogl/cogl/driver/gles/cogl-feature-functions-gles.h2
1 files changed, 1 insertions, 1 deletions
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 |