mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
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:
parent
bc95384f4c
commit
291f4d89cd
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user