X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Fenvironmentmap.h;fp=source%2Feffects%2Fenvironmentmap.h;h=e02687b71184c37b3b11c0a30c8f1b75862e3774;hb=cd5f37b066352119cf92d53d0001af7ff99be437;hp=4936d162781aac4087fcfdf26eb318abdac69ec5;hpb=328b67fa59ce6736949732ea8ff4ef7c6675e200;p=libs%2Fgl.git diff --git a/source/effects/environmentmap.h b/source/effects/environmentmap.h index 4936d162..e02687b7 100644 --- a/source/effects/environmentmap.h +++ b/source/effects/environmentmap.h @@ -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;