From 291f4d89cd3019b5d0be4fd5d97699036d1b0a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Wed, 24 Jan 2024 15:32:32 +0100 Subject: [PATCH] OSMesa: Fix headers included before shared header The shared header, internal.h, must be the first header included in every compilation unit of GLFW. --- src/osmesa_context.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/osmesa_context.c b/src/osmesa_context.c index a3f1a884..2f12adf2 100644 --- a/src/osmesa_context.c +++ b/src/osmesa_context.c @@ -25,13 +25,12 @@ // //======================================================================== +#include "internal.h" + #include #include #include -#include "internal.h" - - static void makeContextCurrentOSMesa(_GLFWwindow* window) { if (window)