From b07e3b2103c53e3cd6a4674eef481178ec64f2c7 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 19 Aug 2012 14:16:20 +0300 Subject: [PATCH] Delete multisample resources in Pipeline destructor --- source/pipeline.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/pipeline.cpp b/source/pipeline.cpp index b9db62d8..8757ea92 100644 --- a/source/pipeline.cpp +++ b/source/pipeline.cpp @@ -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) -- 2.45.2