mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 12:41:21 +00:00
Added OpenGL3 define to begin the transformation to modern GL!!
This commit is contained in:
parent
40cc2ee359
commit
cf8f0d4787
1 changed files with 5 additions and 1 deletions
|
@ -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})
|
||||
|
|
Loading…
Reference in a new issue