[clutter/clutter-1.6] GL_IMG_TEXTURE_NPOT extension enables TEXTURE_NPOT features on GLES



commit 523a6c0820249cd934dff9ca4e0b1e3a86f30679
Author: James Athey <james athey unleashbts com>
Date:   Mon Apr 11 14:26:45 2011 -0400

    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)

 .../cogl/driver/gles/cogl-feature-functions-gles.h |    2 +-
 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 cd3540e..b70b13b 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 |



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]