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

index 6f549f3794fca5f9d8b69c0bbe31364663367dc5..1d6823d9c20518d6fa1522088685280682990a02 100644 (file)
@@ -71,6 +71,7 @@ GLVideoView::GLVideoView (FilmViewer* viewer, wxWindow *parent)
        , _playing (false)
        , _one_shot (false)
 {
+       check_gl_error ("GLVideoView constructor");
        _canvas = new wxGLCanvas (parent, wxID_ANY, 0, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE);
        check_gl_error ("wxGLCanvas constructor");
        _canvas->Bind (wxEVT_PAINT, boost::bind(&GLVideoView::update, this));