OSMesa: Fix headers included before shared header

The shared header, internal.h, must be the first header included in
every compilation unit of GLFW.
This commit is contained in:
Camilla Löwy 2024-01-24 15:32:32 +01:00
parent bc95384f4c
commit 291f4d89cd

View File

@ -25,13 +25,12 @@
// //
//======================================================================== //========================================================================
#include "internal.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include "internal.h"
static void makeContextCurrentOSMesa(_GLFWwindow* window) static void makeContextCurrentOSMesa(_GLFWwindow* window)
{ {
if (window) if (window)