From 40e473d4dcb101b0d1de4c90e90cdd565a8dedc5 Mon Sep 17 00:00:00 2001 From: jules Date: Sat, 25 Feb 2012 21:05:11 +0000 Subject: [PATCH] MSVC GL compile fix. --- modules/juce_opengl/native/juce_MissingGLDefinitions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_opengl/native/juce_MissingGLDefinitions.h b/modules/juce_opengl/native/juce_MissingGLDefinitions.h index 674e236da5..45033f2071 100644 --- a/modules/juce_opengl/native/juce_MissingGLDefinitions.h +++ b/modules/juce_opengl/native/juce_MissingGLDefinitions.h @@ -49,7 +49,7 @@ namespace #define GL_RGBA8 GL_RGBA #endif - #ifndef GL_DEPTH24_STENCIL8 + #if (! defined (GL_DEPTH24_STENCIL8)) && ! JUCE_WINDOWS enum { GL_DEPTH24_STENCIL8 = 0x88F0 }; #endif