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.
This commit is contained in:
Damien Lespiau 2011-05-12 16:00:35 +01:00
parent 780c6fe05d
commit 1d6c6f0dad

View File

@ -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