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