From 89603a91a604c0159fdfddcf2b1e338e07ffa2c8 Mon Sep 17 00:00:00 2001 From: nakeee Date: Fri, 9 Jan 2009 00:35:06 +0000 Subject: [PATCH] add if gltest on some run away files Thanks shuffle! git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1832 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/SConscript | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/SConscript b/Source/Plugins/Plugin_VideoOGL/Src/SConscript index c2f07d7c31..c76b1da61f 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/SConscript +++ b/Source/Plugins/Plugin_VideoOGL/Src/SConscript @@ -98,19 +98,21 @@ conf.Define('HAVE_XXF86VM', gfxenv['HAVE_XXF86VM']) conf.Finish() -if gfxenv['HAVE_XXF86VM']: - files += [ - 'X11Window.cpp', - ] - -if gfxenv['HAVE_SDL']: - files += [ - 'SDLWindow.cpp', - ] -if gfxenv['USE_WX']: - files += [ - 'WXGLWindow.cpp', - ] +if gfxenv['GLTEST']: + if gfxenv['HAVE_XXF86VM']: + files += [ + 'X11Window.cpp', + ] + + if gfxenv['HAVE_SDL']: + files += [ + 'SDLWindow.cpp', + ] + if gfxenv['USE_WX']: + files += [ + 'WXGLWindow.cpp', + ] + # Sanity check if gfxenv['USE_WX'] and not gfxenv['HAVE_WX']: print "Must have wx to use wxgl"