1
1
forked from 0ad/0ad

OS X build fix

This was SVN commit r9022.
This commit is contained in:
Ykkrosh 2011-03-05 13:49:36 +00:00
parent 637412cb5a
commit 18798c3f8d

View File

@ -261,6 +261,10 @@ void RunHardwareDetection()
# define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
# define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
#endif
// Also need some more for OS X 10.5:
#ifndef GL_EXT_texture_array
# define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
#endif
static void ReportGLLimits(ScriptInterface& scriptInterface, CScriptValRooted settings)
{