scons: Remove gles option.
It's broken, and WGL state tracker is always built with GLES support noawadays. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
@@ -19,12 +19,8 @@ if env['platform'] == 'windows':
|
||||
'_GDI32_', # prevent gl* being declared __declspec(dllimport) in MS headers
|
||||
'BUILD_GL32', # declare gl* as __declspec(dllexport) in Mesa headers
|
||||
'KHRONOS_DLL_EXPORTS', # declare gl* as __declspec(dllexport) in Khronos headers
|
||||
'_GLAPI_NO_EXPORTS', # prevent _glapi_* from being declared __declspec(dllimport)
|
||||
])
|
||||
if env['gles']:
|
||||
env.Append(CPPDEFINES = ['_GLAPI_DLL_EXPORTS'])
|
||||
else:
|
||||
# prevent _glapi_* from being declared __declspec(dllimport)
|
||||
env.Append(CPPDEFINES = ['_GLAPI_NO_EXPORTS'])
|
||||
|
||||
env.Append(CPPPATH = [
|
||||
'#/src',
|
||||
|
||||
Reference in New Issue
Block a user