mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix an issue that made it so that the emulator could not be resized in the nowx build on linux. Also some code cleanup in the OpenGL and Software plugins.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5889 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -1,11 +1,7 @@
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
# can we import path in one place?
|
||||
import sys
|
||||
sys.path.append(env['base_dir']+'SconsTests')
|
||||
import utils
|
||||
import platform
|
||||
|
||||
name = "Plugin_VideoOGL"
|
||||
|
||||
@ -24,41 +20,32 @@ files = [
|
||||
'XFB.cpp',
|
||||
'PostProcessing.cpp',
|
||||
'FramebufferManager.cpp',
|
||||
'main.cpp',
|
||||
'GLUtil.cpp'
|
||||
]
|
||||
linkFlags = [
|
||||
]
|
||||
|
||||
libs = [
|
||||
'videocommon', 'GLEW', 'SOIL', 'common'
|
||||
]
|
||||
|
||||
gfxenv = env.Clone()
|
||||
|
||||
files += [
|
||||
'main.cpp',
|
||||
'GLUtil.cpp',
|
||||
]
|
||||
if sys.platform != 'darwin':
|
||||
if gfxenv['HAVE_OPENCL']:
|
||||
libs += [ 'OpenCL']
|
||||
|
||||
if gfxenv['HAVE_WX']:
|
||||
files += [
|
||||
'GUI/ConfigDlg.cpp',
|
||||
'GUI/ConfigDlg.cpp',
|
||||
'Debugger/Debugger.cpp',
|
||||
]
|
||||
]
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
files += [ 'cocoaGL.m' ]
|
||||
files += [ 'cocoaGL.m' ]
|
||||
|
||||
if sys.platform == 'win32':
|
||||
files += [ 'OS/Win32.cpp' ]
|
||||
|
||||
if sys.platform == 'win32':
|
||||
files += [
|
||||
'OS/Win32.cpp'
|
||||
]
|
||||
libs += [
|
||||
env['base_dir'] + '/Externals/Cg/'
|
||||
]
|
||||
files += [ 'OS/Win32.cpp' ]
|
||||
libs += [ env['base_dir'] + '/Externals/Cg/' ]
|
||||
gfxenv['CPPPATH'] += libs
|
||||
|
||||
gfxenv.SharedLibrary(
|
||||
|
Reference in New Issue
Block a user