Include glfw3.h before glfw3native.h

glfw3native.h needs the GLFWmonitor, GLFWwindow and GLFWAPI declarations of
glfw3.h, so the windows build failed on the win32 branch. Only that branch
is affected: x11 resolves the GLFW accessors with dlsym and does not include
the native header at all.
This commit is contained in:
alexei-zebra 2026-10-10 16:10:04 +03:00
parent f13b75475f
commit 4bc81af726
No known key found for this signature in database
GPG key ID: D19D450AC3D9A80E

View file

@ -164,6 +164,8 @@ namespace {
#include <windows.h>
#include <windowsx.h>
#include <GLFW/glfw3.h>
#define GLFW_EXPOSE_NATIVE_WIN32
#include <GLFW/glfw3native.h>