Make OSMesa backend an almost proper null backend

It still depends on POSIX time and TLS.
This commit is contained in:
Camilla Löwy
2017-02-28 20:27:10 +01:00
parent e9560ef021
commit 53f46d32e2
6 changed files with 25 additions and 26 deletions
+3 -4
View File
@@ -53,11 +53,10 @@ elseif (_GLFW_MIR)
linux_joystick.c posix_time.c posix_tls.c xkb_unicode.c
egl_context.c)
elseif (_GLFW_OSMESA)
set(glfw_HEADERS ${common_HEADERS} osmesa_platform.h null_joystick.h
set(glfw_HEADERS ${common_HEADERS} null_platform.h null_joystick.h
posix_time.h posix_tls.h osmesa_context.h)
set(glfw_SOURCES ${common_SOURCES} osmesa_init.c osmesa_monitor.c
osmesa_window.c null_joystick.c posix_time.c posix_tls.c
osmesa_context.c)
set(glfw_SOURCES ${common_SOURCES} null_init.c null_monitor.c null_window.c
null_joystick.c posix_time.c posix_tls.c osmesa_context.c)
endif()
if (APPLE)