try macro

This commit is contained in:
2026-02-02 15:25:29 -06:00
parent 7a73c3fc72
commit 9716a8ec46

View File

@@ -7,6 +7,7 @@
#include "utils/Window/WindowEvents.h"
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
@@ -20,8 +21,9 @@ namespace Archimedes {
WindowGLFW(Window* p, const std::function<void(Event*)>& sendEvent) {
if(glfwPlatformSupported(GLFW_PLATFORM_WAYLAND))
/*if(glfwPlatformSupported(GLFW_PLATFORM_WAYLAND)) {
glfwInitHint(GLFW_PLATFORM, GLFW_PLATFORM_WAYLAND);
}*/
data.window = p;