From dab0638177309d43ae80cec5b4f0049f64e0bdff Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Fri, 14 Jul 2017 14:05:14 -0400 Subject: [PATCH] Fix using NXT_PLATFORM without including Platform.h --- src/backend/opengl/ShaderModuleGL.cpp | 2 ++ src/utils/OpenGLBinding.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/backend/opengl/ShaderModuleGL.cpp b/src/backend/opengl/ShaderModuleGL.cpp index 7e7360f944..b71fa1abbc 100644 --- a/src/backend/opengl/ShaderModuleGL.cpp +++ b/src/backend/opengl/ShaderModuleGL.cpp @@ -14,6 +14,8 @@ #include "backend/opengl/ShaderModuleGL.h" +#include "common/Platform.h" + #include #include diff --git a/src/utils/OpenGLBinding.cpp b/src/utils/OpenGLBinding.cpp index c2f67b68ee..b7b53172ec 100644 --- a/src/utils/OpenGLBinding.cpp +++ b/src/utils/OpenGLBinding.cpp @@ -14,6 +14,8 @@ #include "utils/BackendBinding.h" +#include "common/Platform.h" + #include "GLFW/glfw3.h" namespace backend {