debugz.
authorCarl Hetherington <cth@carlh.net>
Tue, 4 Aug 2020 23:29:15 +0000 (01:29 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 6 Aug 2020 07:38:43 +0000 (09:38 +0200)
src/wx/gl_video_view.cc

index 1d6823d9c20518d6fa1522088685280682990a02..eac9e3dbfd67ee22b765edbd3e01255714287d3c 100644 (file)
@@ -370,6 +370,8 @@ try
        {
                boost::mutex::scoped_lock lm (_canvas_mutex);
                _context = new wxGLContext (_canvas); //local
+               DCPOMATIC_ASSERT (_context->IsOK());
+               check_gl_error ("wxGLContext constuctor");
                _canvas->SetCurrent (*_context);
        }