Index: third_party/mesa/MesaLib/src/egl/main/eglconfig.c |
=================================================================== |
--- third_party/mesa/MesaLib/src/egl/main/eglconfig.c (revision 68888) |
+++ third_party/mesa/MesaLib/src/egl/main/eglconfig.c (working copy) |
@@ -212,9 +212,11 @@ |
ATTRIB_CRITERION_IGNORE, |
0 }, |
+#ifdef EGL_NOK_texture_from_pixmap |
{ EGL_Y_INVERTED_NOK, ATTRIB_TYPE_BOOLEAN, |
ATTRIB_CRITERION_EXACT, |
EGL_DONT_CARE }, |
+#endif |
}; |
@@ -489,8 +491,10 @@ |
case EGL_MATCH_NATIVE_PIXMAP: |
#endif |
return EGL_FALSE; |
+#ifdef EGL_NOK_texture_from_pixmap |
case EGL_Y_INVERTED_NOK: |
return conf->Display->Extensions.NOK_texture_from_pixmap; |
+#endif |
default: |
break; |
} |