mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 09:01:46 +00:00
Formatting.
This commit is contained in:
parent
d322fa1ab4
commit
6add995b06
@ -366,7 +366,7 @@ static void updateKeyCodeLUT(void)
|
|||||||
|
|
||||||
static GLboolean initDisplay(void)
|
static GLboolean initDisplay(void)
|
||||||
{
|
{
|
||||||
_glfwLibrary.X11.display = XOpenDisplay(0);
|
_glfwLibrary.X11.display = XOpenDisplay(NULL);
|
||||||
if (!_glfwLibrary.X11.display)
|
if (!_glfwLibrary.X11.display)
|
||||||
{
|
{
|
||||||
_glfwSetError(GLFW_OPENGL_UNAVAILABLE, "X11/GLX: Failed to open X display");
|
_glfwSetError(GLFW_OPENGL_UNAVAILABLE, "X11/GLX: Failed to open X display");
|
||||||
|
Loading…
Reference in New Issue
Block a user