From 80977251da90a6878b82d143c22b8335284d3b3e Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 3 Oct 2013 10:57:40 +0300 Subject: [PATCH] Include extension headers in places that need enums from them A few places still rely on gl.h for OpenGL 1.3 or 1.4 enums. I may look into these later. --- source/blend.h | 1 + source/buffer.h | 2 ++ source/framebuffer.h | 1 + source/pixelformat.h | 2 ++ source/texturecube.h | 1 + 5 files changed, 7 insertions(+) diff --git a/source/blend.h b/source/blend.h index dd3f9404..1ba43ceb 100644 --- a/source/blend.h +++ b/source/blend.h @@ -3,6 +3,7 @@ #include "bindable.h" #include "gl.h" +#include namespace Msp { namespace GL { diff --git a/source/buffer.h b/source/buffer.h index 25ce4699..b3a2902f 100644 --- a/source/buffer.h +++ b/source/buffer.h @@ -3,6 +3,8 @@ #include #include "gl.h" +#include +#include namespace Msp { namespace GL { diff --git a/source/framebuffer.h b/source/framebuffer.h index e25967ac..3bf439f9 100644 --- a/source/framebuffer.h +++ b/source/framebuffer.h @@ -5,6 +5,7 @@ #include "bindable.h" #include "gl.h" #include "texturecube.h" +#include namespace Msp { namespace GL { diff --git a/source/pixelformat.h b/source/pixelformat.h index 43330f07..4dabcbb5 100644 --- a/source/pixelformat.h +++ b/source/pixelformat.h @@ -4,6 +4,8 @@ #include #include #include "gl.h" +#include +#include namespace Msp { namespace GL { diff --git a/source/texturecube.h b/source/texturecube.h index 8d87c410..e775be1d 100644 --- a/source/texturecube.h +++ b/source/texturecube.h @@ -6,6 +6,7 @@ #include "pixelformat.h" #include "texture.h" #include "vector.h" +#include namespace Msp { namespace GL { -- 2.45.2