Small bit of clean up in GLES-software.

This commit is contained in:
Ryan Houdek
2012-12-24 09:37:12 -06:00
parent f6ef6fa0d9
commit 296b9b1c16
4 changed files with 21 additions and 31 deletions
+3
View File
@@ -218,11 +218,14 @@ if(FASTLOG)
add_definitions(-DDEBUGFAST)
endif()
# For now GLES and EGL are tied to each other.
# Enabling GLES also disables the OpenGL plugin.
option(USE_GLES "Enables GLES, disables OGL" OFF)
if(USE_GLES)
message("GLES rendering enabled")
add_definitions(-DUSE_GLES)
add_definitions(-DUSE_EGL)
set(USE_EGL True)
endif()
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)