projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c014b62
)
debugz.
author
Carl Hetherington
<cth@carlh.net>
Tue, 4 Aug 2020 23:29:15 +0000
(
01:29
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 6 Aug 2020 07:38:43 +0000
(09:38 +0200)
src/wx/gl_video_view.cc
patch
|
blob
|
history
diff --git
a/src/wx/gl_video_view.cc
b/src/wx/gl_video_view.cc
index 1d6823d9c20518d6fa1522088685280682990a02..eac9e3dbfd67ee22b765edbd3e01255714287d3c 100644
(file)
--- a/
src/wx/gl_video_view.cc
+++ b/
src/wx/gl_video_view.cc
@@
-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);
}