Added OpenGL3 define to begin the transformation to modern GL!!

This commit is contained in:
Bradley Clemetson 2015-04-13 22:34:17 -07:00
parent 40cc2ee359
commit cf8f0d4787

View file

@ -25,6 +25,10 @@ set(GAME_SRC_DIR ${SOURCE_DIR}/game)
set(SERVER_SRC_DIR ${SOURCE_DIR}/server)
set(CLIENT_SRC_DIR ${SOURCE_DIR}/client)
#Hack to enable OpenGL 3+ rendering
add_definitions(-DUSEGL3=1)
#Required libraries to build the different
#components of the tutorials. Find them and add the include/linker
#directories and flags(In case the package manager find it in a weird place)
@ -258,4 +262,4 @@ set_target_properties(q2ded PROPERTIES
COMPILE_DEFINITIONS "DEDICATED_ONLY")
set_target_properties(q2ded PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
target_link_libraries(q2ded ${yquake2LinkerFlags})
target_link_libraries(q2ded ${yquake2LinkerFlags})