Fix crash on Linux (and maybe others).
authorCarl Hetherington <cth@carlh.net>
Tue, 3 Nov 2020 23:15:30 +0000 (00:15 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 3 Nov 2020 23:15:30 +0000 (00:15 +0100)
commitcfba7e0f9f20e68397e41d8f979e7723425ec51b
treef7e5c229b9decc712d1e5e8946c49366beaba529
parent21e78df3645193f696873bdf29d39ea9f772395e
Fix crash on Linux (and maybe others).

Calling _canvas->SetCurrent() without the canvas being on screen
causes a crash on Linux (and maybe elsewhere).
src/wx/gl_video_view.cc