From 94bb1ad2dfbe4b75b388819d028dd80e74c9a09e Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Thu, 2 Aug 2012 15:31:40 +0100 Subject: [PATCH] Fix OpenGL check in sconscript --- SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConscript b/SConscript index f0fad9c24..9f0177367 100644 --- a/SConscript +++ b/SConscript @@ -172,7 +172,7 @@ if(GetOption('opengl')): env.Append(CPPDEFINES=["OGLI", "PIX32OGL"]) env.Append(LIBS=openGLLibs) -if(GetOption('opengl-renderer') and GetOption('opengl-renderer')): +if(GetOption('opengl') and GetOption('opengl-renderer')): env.Append(CPPDEFINES=["OGLR"]) elif(GetOption('opengl-renderer')): print "opengl-renderer requires opengl"