summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConscript b/SConscript
index f0fad9c..9f01773 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"