[cogl] build: Fix the Win32 platform test for GLES2
- From: Damien Lespiau <dlespiau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] build: Fix the Win32 platform test for GLES2
- Date: Tue, 17 May 2011 14:31:01 +0000 (UTC)
commit 1d6c6f0dad79e73fa719eb4b91d0f6455f6d921c
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]