From 1d6c6f0dad79e73fa719eb4b91d0f6455f6d921c Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Thu, 12 May 2011 16:00:35 +0100 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ac6a7fb24..718832e5a 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