From 28f0fc2675a52a73bc8a36782fc60dfdc6476a64 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 23 Aug 2011 22:29:41 +0000 Subject: [PATCH] debug: fix iOS compilation of the debug quad code. --- src/debug/quad.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/debug/quad.cpp b/src/debug/quad.cpp index 3de7bc88..438f9855 100644 --- a/src/debug/quad.cpp +++ b/src/debug/quad.cpp @@ -497,7 +497,7 @@ void DebugQuad::TickDraw(float deltams) * * Renders an orange square. */ -#if !defined ANDROID_NDK +#if !defined ANDROID_NDK && !defined __APPLE__ if (!shader[0]) #if !defined __CELLOS_LV2__ shader[0] = Shader::Create( @@ -649,7 +649,7 @@ void DebugQuad::TickDraw(float deltams) * * Renders a multicoloured square with varying colors. */ -#if !defined ANDROID_NDK +#if !defined ANDROID_NDK && !defined __APPLE__ if (!shader[0]) { #if !defined __CELLOS_LV2__ @@ -714,7 +714,7 @@ void DebugQuad::TickDraw(float deltams) * Renders a multicoloured square with varying colors xored with an * animated distorted checkerboard. */ -#if !defined ANDROID_NDK +#if !defined ANDROID_NDK && !defined __APPLE__ if (!shader[0]) #if !defined __CELLOS_LV2__ shader[0] = Shader::Create( @@ -945,7 +945,7 @@ void DebugQuad::ResetState() glLoadIdentity(); #endif -#if !defined ANDROID_NDK +#if !defined ANDROID_NDK && !defined __APPLE__ glColor4f(1.0f, 1.0f, 1.0f, 1.0f); #endif