[glfw] Include gl.hpp first to avoid redefinition of GLAPIENTRY
Mesa does not check if GLAPIENTRY was defined before before defining it, what makes the compiler sad. So we make Mesa define it first, before GLFW.
This commit is contained in:
committed by
Thiago Marcos P. Santos
parent
94f011895c
commit
b822c9466b
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <mbgl/gl/gl.hpp>
|
||||
#include <mbgl/map/map.hpp>
|
||||
#include <mbgl/map/view.hpp>
|
||||
#include <mbgl/map/backend.hpp>
|
||||
|
||||
Reference in New Issue
Block a user