mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 16:44:11 +00:00
Merge branch 'master' into EGL
Conflicts: CMakeLists.txt include/GL/glfw3.h readme.html src/CMakeLists.txt src/cocoa_window.m src/config.h.in src/glx_opengl.c src/internal.h src/opengl.c src/window.c tests/glfwinfo.c
This commit is contained in:
+2
-2
@@ -491,7 +491,7 @@ static GLboolean initDisplay(void)
|
||||
_glfwLibrary.X11.display = XOpenDisplay(NULL);
|
||||
if (!_glfwLibrary.X11.display)
|
||||
{
|
||||
_glfwSetError(GLFW_OPENGL_UNAVAILABLE, "X11: Failed to open X display");
|
||||
_glfwSetError(GLFW_API_UNAVAILABLE, "X11: Failed to open X display");
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
@@ -728,7 +728,7 @@ const char* _glfwPlatformGetVersionString(void)
|
||||
#if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK)
|
||||
" clock_gettime"
|
||||
#endif
|
||||
#if defined(_GLFW_HAS_LINUX_JOYSTICKS)
|
||||
#if defined(__linux__)
|
||||
" Linux-joystick-API"
|
||||
#else
|
||||
" no-joystick-support"
|
||||
|
||||
Reference in New Issue
Block a user