Begin implementing legacy OpenGL renderer
This commit is contained in:
@@ -56,8 +56,16 @@ else()
|
||||
set(RENDERER_GL_DEFAULT ON)
|
||||
endif()
|
||||
option(RENDERER_GL "Enable OpenGL renderer" ${RENDERER_GL_DEFAULT})
|
||||
if(SERENITYOS)
|
||||
set(RENDERER_LEGACY_GL_DEFAULT ON)
|
||||
else()
|
||||
set(RENDERER_LEGACY_GL_DEFAULT OFF)
|
||||
endif()
|
||||
# Please note that LEGACY_GL renderer should be only used on hardware/operating systems that do not support OpenGL 2.0+
|
||||
option(RENDERER_LEGACY_GL "Enable legacy OpenGL renderer" ${RENDERER_LEGACY_GL_DEFAULT})
|
||||
if(NOT BUILD_CLIENT)
|
||||
set(RENDERER_GL OFF)
|
||||
set(RENDERER_LEGACY_GL OFF)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
|
||||
Reference in New Issue
Block a user