From: Mikko Rasa Date: Thu, 3 Oct 2013 07:57:40 +0000 (+0300) Subject: Include extension headers in places that need enums from them X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=80977251da90a6878b82d143c22b8335284d3b3e 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. --- 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 {