From b822c9466be27e048ec39b31d58d0d0afdf437ff Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Mon, 13 Feb 2017 18:24:38 +0200 Subject: [PATCH] [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. --- platform/glfw/glfw_view.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/glfw/glfw_view.hpp b/platform/glfw/glfw_view.hpp index 84c831959..835a73b54 100644 --- a/platform/glfw/glfw_view.hpp +++ b/platform/glfw/glfw_view.hpp @@ -1,5 +1,6 @@ #pragma once +#include #include #include #include