[maemo-commits] [maemo-commits] r17039 - projects/haf/trunk/clutter/clutter/eglx

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Dec 29 12:28:32 EET 2008
Author: kihamala
Date: 2008-12-29 12:28:30 +0200 (Mon, 29 Dec 2008)
New Revision: 17039

Modified:
   projects/haf/trunk/clutter/clutter/eglx/clutter-eglx-texture-pixmap.c
Log:
correct extension name to check is EGL_NOKIA_texture_from_pixmap


Modified: projects/haf/trunk/clutter/clutter/eglx/clutter-eglx-texture-pixmap.c
===================================================================
--- projects/haf/trunk/clutter/clutter/eglx/clutter-eglx-texture-pixmap.c	2008-12-23 10:40:16 UTC (rev 17038)
+++ projects/haf/trunk/clutter/clutter/eglx/clutter-eglx-texture-pixmap.c	2008-12-29 10:28:30 UTC (rev 17039)
@@ -180,8 +180,10 @@
                                         EGL_EXTENSIONS);
 
       g_debug("%s: checking for texture_from_pixmap", __FUNCTION__);
-      /* Check for the texture from pixmap extension */
-      if (cogl_check_extension ("EGL_EXT_texture_from_pixmap", eglx_extensions))
+      /* Check for a texture from pixmap extension.
+       * Note: vendor-specific since there is no TFP in EGL specification. */
+      if (cogl_check_extension ("EGL_NOKIA_texture_from_pixmap",
+                                eglx_extensions))
         {
             _have_tex_from_pixmap_ext = TRUE;
         }


More information about the maemo-commits mailing list