7baaf83f1d
Signed-off-by: Dallas Strouse <dastrouses@gmail.com>
(cherry picked from commit 2eff1de560
)
21 lines
561 B
Diff
21 lines
561 B
Diff
diff --git a/src/platform.c b/src/platform.c
|
|
index c5966ae7..3e7442f9 100644
|
|
--- a/src/platform.c
|
|
+++ b/src/platform.c
|
|
@@ -49,12 +49,12 @@ static const struct
|
|
#if defined(_GLFW_COCOA)
|
|
{ GLFW_PLATFORM_COCOA, _glfwConnectCocoa },
|
|
#endif
|
|
-#if defined(_GLFW_X11)
|
|
- { GLFW_PLATFORM_X11, _glfwConnectX11 },
|
|
-#endif
|
|
#if defined(_GLFW_WAYLAND)
|
|
{ GLFW_PLATFORM_WAYLAND, _glfwConnectWayland },
|
|
#endif
|
|
+#if defined(_GLFW_X11)
|
|
+ { GLFW_PLATFORM_X11, _glfwConnectX11 },
|
|
+#endif
|
|
};
|
|
|
|
GLFWbool _glfwSelectPlatform(int desiredID, _GLFWplatform* platform)
|