X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fframebuffer.h;h=da828bf531f7c70eafc74d297712266fed97fa37;hb=3c0cbf0529aa06d9809ad3aa9e282400e8209b4d;hp=48888459da363f7b24be4e7edd25aecbc0d00a8f;hpb=006bdb4f8660098fc524dcca80b24c943c65b249;p=libs%2Fgl.git diff --git a/source/core/framebuffer.h b/source/core/framebuffer.h index 48888459..da828bf5 100644 --- a/source/core/framebuffer.h +++ b/source/core/framebuffer.h @@ -4,29 +4,16 @@ #include #include "color.h" #include "frameformat.h" -#include "gl.h" #include "texturecube.h" -#include -#include -#include -#include namespace Msp { namespace GL { -class Texture; class Texture2D; 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 +129,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