I believe _canvas will be destroyed by its parent.
[dcpomatic.git] / src / wx / gl_video_view.cc
index 0f0118e00fde0699007c82431255006216a5d82a..f75d50f9dc8fd9716881458ee6cd8c0440fe66c1 100644 (file)
@@ -53,8 +53,6 @@ GLVideoView::~GLVideoView ()
 {
        glDeleteTextures (1, &_id);
        delete _context;
-       /* XXX: should we delete this? */
-       delete _canvas;
 }
 
 static void