[cogl/wip/android: 5/12] build: Fix the Win32 platform test for GLES2



commit 3ae86350f9b45169724ff81c0f07004f229c2392
Author: Damien Lespiau <damien lespiau intel com>
Date:   Thu May 12 16:00:35 2011 +0100

    build: Fix the Win32 platform test for GLES2
    
    The error message has a small typo (copy and paste from the GLES1
    detection code) and the check was reversed.

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ac6a7fb..718832e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -366,8 +366,8 @@ AC_ARG_ENABLE(
 )
 AS_IF([test "x$enable_gles2" = "xyes"],
       [
-        AS_IF([test "x$platform_win32" != "xyes"],
-	      [AC_MSG_ERROR([GLES 1 not available for win32])])
+        AS_IF([test "x$platform_win32" = "xyes"],
+	      [AC_MSG_ERROR([GLES 2 not available for win32])])
 
         DRIVER_COUNT=$((DRIVER_COUNT + 1))
         COGL_DRIVER=gles



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