try macro
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user