X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fframebuffer.h;h=3054bd646b3e4d4709c4ee7ec8a96a5b20bdfa7a;hb=8697b05bf71c49882fe15d53aa4f502aa2b5f9a3;hp=92cb285bd842ae7a5f669fd28f47ecac88328820;hpb=0e130c02d5e89397ac4963676534e0005359c61e;p=libs%2Fgl.git diff --git a/source/framebuffer.h b/source/framebuffer.h index 92cb285b..3054bd64 100644 --- a/source/framebuffer.h +++ b/source/framebuffer.h @@ -5,6 +5,8 @@ #include "bindable.h" #include "gl.h" #include "texturecube.h" +#include +#include #include #include @@ -136,6 +138,7 @@ public: void viewport(int, int, unsigned, unsigned); void reset_viewport(); + void clear(); void clear(BufferBits); /** Blits a region from another framebuffer into this one. If the source