X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fframebuffer.h;fp=source%2Fcore%2Fframebuffer.h;h=a58d31d890927f0a59261169748554b24c49c29b;hb=81051dd218aa70cf434358de9a993d5358a8a5e1;hp=48888459da363f7b24be4e7edd25aecbc0d00a8f;hpb=1fba50491957cdd28cff4082a32764691d8ec473;p=libs%2Fgl.git diff --git a/source/core/framebuffer.h b/source/core/framebuffer.h index 48888459..a58d31d8 100644 --- a/source/core/framebuffer.h +++ b/source/core/framebuffer.h @@ -4,7 +4,6 @@ #include #include "color.h" #include "frameformat.h" -#include "gl.h" #include "texturecube.h" #include #include @@ -20,13 +19,6 @@ class Texture2DMultisample; class Texture3D; class WindowView; -enum BufferBits -{ - COLOR_BUFFER_BIT = GL_COLOR_BUFFER_BIT, - DEPTH_BUFFER_BIT = GL_DEPTH_BUFFER_BIT, - STENCIL_BUFFER_BIT = GL_STENCIL_BUFFER_BIT -}; - class framebuffer_incomplete: public std::runtime_error { public: @@ -142,9 +134,6 @@ union ClearValue ClearValue(): color(0.0f, 0.0f, 0.0f, 0.0f) { } }; -inline BufferBits operator|(BufferBits a, BufferBits b) -{ return static_cast(static_cast(a)|static_cast(b)); } - } // namespace GL } // namespace Msp