X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fframebuffer.h;h=579d22f8f33c3993be7ee7f1d1f78d984a207267;hp=07cae8671d22ef153b927e5fb2e64bdbb5c11d30;hb=08e19bc2b4eba572bc7699378cf55cd8772ac67e;hpb=57de40e1e802e44ae5b4caa67b0bb8763828b5c3 diff --git a/source/framebuffer.h b/source/framebuffer.h index 07cae867..579d22f8 100644 --- a/source/framebuffer.h +++ b/source/framebuffer.h @@ -6,6 +6,7 @@ #include "gl.h" #include "texturecube.h" #include +#include namespace Msp { namespace GL { @@ -89,11 +90,11 @@ private: Texture *tex; }; unsigned level; - GLenum cube_face; + unsigned layer; Attachment(FramebufferAttachment); void set(Renderbuffer &); - void set(Texture &, GLenum, unsigned); + void set(Texture &, unsigned, unsigned); void clear(); };