From 0e863f502d39f0b6e39145d8727519e0bf9df90a Mon Sep 17 00:00:00 2001 From: Jun Tian Date: Wed, 21 Nov 2012 16:17:12 +0800 Subject: [PATCH] Fix the GL build issues on Mountion Lion The GL path of the Mountain Lion is different. Including the gl.h path in this patch. Signed-off-by: Gao Fengqian --- tizen/emulator_configure.sh | 2 +- tizen/src/hw/gloffscreen_common.c | 2 ++ tizen/src/hw/gloffscreen_test.c | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tizen/emulator_configure.sh b/tizen/emulator_configure.sh index 795a023..e623a8b 100755 --- a/tizen/emulator_configure.sh +++ b/tizen/emulator_configure.sh @@ -280,7 +280,7 @@ echo "##### QEMU configure append:" $CONFIGURE_APPEND --enable-hax \ --disable-vnc \ --enable-cocoa \ - --disable-gl \ + --enable-gl \ --disable-sdl $1 ;; esac diff --git a/tizen/src/hw/gloffscreen_common.c b/tizen/src/hw/gloffscreen_common.c index 9a72190..b79e048 100644 --- a/tizen/src/hw/gloffscreen_common.c +++ b/tizen/src/hw/gloffscreen_common.c @@ -30,6 +30,8 @@ #include #include #include +#elif __APPLE__ +#include #else #include #endif diff --git a/tizen/src/hw/gloffscreen_test.c b/tizen/src/hw/gloffscreen_test.c index 0a37f30..73c7fa7 100644 --- a/tizen/src/hw/gloffscreen_test.c +++ b/tizen/src/hw/gloffscreen_test.c @@ -34,6 +34,9 @@ #include #include #include +#elif __APPLE__ +#include +#include #else #include #include -- 2.7.4