summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-16 00:55:29 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-16 03:01:41 +0100
commitc31eb6d664ad26940d56f1d9da1778dd9729a187 (patch)
tree85d4ee9151c3725aa87f3a4f7955d3646e9fcc7d /src/wx/gl_video_view.h
parentd1874b6ccabf09b0abed59e187e54c811fbfcee1 (diff)
Fix OpenGL crashes on macOS (#1899).
Diffstat (limited to 'src/wx/gl_video_view.h')
-rw-r--r--src/wx/gl_video_view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h
index d8ee65da6..1e6886f26 100644
--- a/src/wx/gl_video_view.h
+++ b/src/wx/gl_video_view.h
@@ -61,6 +61,7 @@ private:
void thread_playing ();
void request_one_shot ();
void check_for_butler_errors ();
+ void ensure_context ();
/* Mutex for use of _canvas; it's only contended when our ::thread
is started up so this may be overkill.