]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/view.h
Only use postprocessors that can be supported
[r2c2.git] / source / 3d / view.h
index 5be2d8c0adf383bf56714e113845b96006270de9..a191a150ec60e1cd9819ed2ce8e7bd9a1f9db884 100644 (file)
@@ -22,11 +22,12 @@ protected:
        Msp::GL::Pipeline pipeline;
        Sky3D sky;
        Msp::GL::ShadowMap shadow;
-       Msp::GL::ColorCurve colorcurve;
-       Msp::GL::AmbientOcclusion ambient_occlusion;
+       Msp::GL::ColorCurve *colorcurve;
+       Msp::GL::AmbientOcclusion *ambient_occlusion;
 
 public:
        View3D(Layout3D &, unsigned, unsigned);
+       ~View3D();
 
        Layout3D &get_layout() const { return layout; }
        Msp::GL::Camera &get_camera() { return camera; }