mirror of
https://github.com/overte-org/overte.git
synced 2025-04-05 21:12:25 +02:00
Set GL preference to GLVND
This commit is contained in:
parent
88b0045258
commit
babee7c527
8 changed files with 8 additions and 8 deletions
|
@ -236,7 +236,7 @@ target_openssl()
|
|||
|
||||
target_bullet()
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "LEGACY")
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
add_crashpad()
|
||||
target_breakpad()
|
||||
|
|
|
@ -13,7 +13,7 @@ include_hifi_library_headers(ktx)
|
|||
include_hifi_library_headers(render)
|
||||
include_hifi_library_headers(procedural)
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "LEGACY")
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
||||
GroupSources("src/display-plugins")
|
||||
|
|
|
@ -2,6 +2,6 @@ set(TARGET_NAME gl)
|
|||
setup_hifi_library(Gui Widgets)
|
||||
link_hifi_libraries(shared)
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "LEGACY")
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
||||
|
|
|
@ -3,6 +3,6 @@ setup_hifi_library(Concurrent)
|
|||
link_hifi_libraries(shared gl gpu shaders)
|
||||
GroupSources("src")
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "LEGACY")
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
||||
|
|
|
@ -6,6 +6,6 @@ if (UNIX AND NOT VIRCADIA_THREAD_DEBUGGING)
|
|||
endif(UNIX AND NOT VIRCADIA_THREAD_DEBUGGING)
|
||||
GroupSources("src")
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "LEGACY")
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
||||
|
|
|
@ -3,5 +3,5 @@ setup_hifi_library(Multimedia Network Qml Quick WebChannel WebSockets ${PLATFORM
|
|||
link_hifi_libraries(shared networking gl)
|
||||
|
||||
# Required for some low level GL interaction in the OffscreenQMLSurface
|
||||
set(OpenGL_GL_PREFERENCE "LEGACY")
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
|
|
@ -4,5 +4,5 @@ link_hifi_libraries(shared networking qml gl audio audio-client plugins pointers
|
|||
include_hifi_library_headers(controllers)
|
||||
|
||||
# Required for some low level GL interaction in the OffscreenQMLSurface
|
||||
set(OpenGL_GL_PREFERENCE "LEGACY")
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
|
|
|
@ -23,7 +23,7 @@ link_hifi_libraries(
|
|||
|
||||
target_compile_definitions(${TARGET_NAME} PRIVATE USE_GL)
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "LEGACY")
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
target_opengl()
|
||||
#target_vulkan()
|
||||
|
||||
|
|
Loading…
Reference in a new issue