mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-05 19:29:11 +01:00
Remove legacy OpenGL 2.1 renderer
This commit is contained in:
@@ -68,7 +68,6 @@ if (APPLE)
|
||||
endif()
|
||||
|
||||
option(WITH_OPENGL_MODERN "Compile with OpenGL modern renderer" ON)
|
||||
option(WITH_OPENGL_LEGACY "Compile with OpenGL legacy renderer" ON)
|
||||
option(WITH_PYTHON "Python 3.14 embedded scripting" ON)
|
||||
option(WITH_UART "Compile with libserialport" ON)
|
||||
option(WITH_LUA "Compile with lua scripting support" ON)
|
||||
@@ -225,7 +224,6 @@ set(SOURCES
|
||||
"utilities/headtrack.cpp"
|
||||
"scripting/ladderlogic.cpp"
|
||||
"rendering/geometrybank.cpp"
|
||||
"rendering/openglcolor.cpp"
|
||||
"simulation/simulationsounds.cpp"
|
||||
"rendering/openglcamera.cpp"
|
||||
|
||||
@@ -284,9 +282,7 @@ set(SOURCES
|
||||
|
||||
set(DEFINITIONS)
|
||||
set(SOURCES ${SOURCES} "imgui/imgui_impl_opengl3.cpp")
|
||||
set(SOURCES ${SOURCES} "imgui/imgui_impl_opengl2.cpp")
|
||||
set_source_files_properties("imgui/imgui_impl_opengl3.cpp" PROPERTIES SKIP_PRECOMPILE_HEADERS TRUE)
|
||||
set_source_files_properties("imgui/imgui_impl_opengl2.cpp" PROPERTIES SKIP_PRECOMPILE_HEADERS TRUE)
|
||||
|
||||
if (WITH_CRASHPAD)
|
||||
set(DEFINITIONS ${DEFINITIONS} "WITH_CRASHPAD")
|
||||
@@ -341,17 +337,6 @@ if (WITH_OPENGL_MODERN)
|
||||
set(DEFINITIONS ${DEFINITIONS} "WITH_OPENGL_MODERN")
|
||||
endif()
|
||||
|
||||
if (WITH_OPENGL_LEGACY)
|
||||
set(SOURCES ${SOURCES}
|
||||
"rendering/openglgeometrybank.cpp"
|
||||
"rendering/opengllight.cpp"
|
||||
"rendering/openglskydome.cpp"
|
||||
"rendering/openglprecipitation.cpp"
|
||||
"rendering/openglparticles.cpp"
|
||||
"rendering/openglrenderer.cpp")
|
||||
set(DEFINITIONS ${DEFINITIONS} "WITH_OPENGL_LEGACY")
|
||||
endif()
|
||||
|
||||
add_subdirectory("${DEPS_DIR}/glfw/" EXCLUDE_FROM_ALL)
|
||||
|
||||
set(SOURCES ${SOURCES} "extras/piped_proc.cpp" "widgets/cameraview_extcam.cpp")
|
||||
|
||||
Reference in New Issue
Block a user