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
This commit is contained in:
nakeee 2009-01-09 00:35:06 +00:00
parent 4916bf54b6
commit 89603a91a6
1 changed files with 15 additions and 13 deletions

View File

@ -98,6 +98,7 @@ conf.Define('HAVE_XXF86VM', gfxenv['HAVE_XXF86VM'])
conf.Finish() conf.Finish()
if gfxenv['GLTEST']:
if gfxenv['HAVE_XXF86VM']: if gfxenv['HAVE_XXF86VM']:
files += [ files += [
'X11Window.cpp', 'X11Window.cpp',
@ -111,6 +112,7 @@ if gfxenv['USE_WX']:
files += [ files += [
'WXGLWindow.cpp', 'WXGLWindow.cpp',
] ]
# Sanity check # Sanity check
if gfxenv['USE_WX'] and not gfxenv['HAVE_WX']: if gfxenv['USE_WX'] and not gfxenv['HAVE_WX']:
print "Must have wx to use wxgl" print "Must have wx to use wxgl"