[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:
Thiago Marcos P. Santos
2017-02-13 18:24:38 +02:00
committed by Thiago Marcos P. Santos
parent 94f011895c
commit b822c9466b

View File

@@ -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>