]> git.tdb.fi Git - libs/gl.git/commitdiff
Delete multisample resources in Pipeline destructor
authorMikko Rasa <tdb@tdb.fi>
Sun, 19 Aug 2012 11:16:20 +0000 (14:16 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 19 Aug 2012 11:16:37 +0000 (14:16 +0300)
source/pipeline.cpp

index b9db62d84ef4526945beba95b377bf4ee5afe418..8757ea92e87e54a6a0e1b0dc33afe1c7f5b006e3 100644 (file)
@@ -34,6 +34,9 @@ Pipeline::~Pipeline()
        delete fbo;
        delete color_buf;
        delete depth_buf;
+       delete fbo_ms;
+       delete color_buf_ms;
+       delete depth_buf_ms;
 }
 
 void Pipeline::set_hdr(bool h)