]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effects/environmentmap.h
Remove RenderBuffer and always use textures as framebuffer attachments
[libs/gl.git] / source / effects / environmentmap.h
index 4936d162781aac4087fcfdf26eb318abdac69ec5..e02687b71184c37b3b11c0a30c8f1b75862e3774 100644 (file)
@@ -6,7 +6,7 @@
 #include "framebuffer.h"
 #include "matrix.h"
 #include "programdata.h"
-#include "renderbuffer.h"
+#include "texture2d.h"
 #include "texturecube.h"
 #include "vector.h"
 
@@ -36,7 +36,7 @@ private:
        unsigned size;
        Renderable &environment;
        TextureCube env_tex;
-       Renderbuffer depth_buf;
+       Texture2D depth_buf;
        Face faces[6];
 
        TextureCube irradiance;