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

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