projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a855b30
)
Missing check_gl_error() calls.
author
Carl Hetherington
<cth@carlh.net>
Thu, 30 Sep 2021 22:37:14 +0000
(
00:37
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 30 Sep 2021 22:37:14 +0000
(
00:37
+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 2b79bbd5e71074b107312323cbd2a3835060da99..aa757ae45bbf580e8fdb1437a795b277160b370b 100644
(file)
--- a/
src/wx/gl_video_view.cc
+++ b/
src/wx/gl_video_view.cc
@@
-436,8
+436,11
@@
GLVideoView::setup_shaders ()
glUniformMatrix4fv (colour_conversion, 1, GL_TRUE, gl_matrix);
glLineWidth (2.0f);
+ check_gl_error ("glLineWidth");
glEnable (GL_BLEND);
+ check_gl_error ("glEnable");
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+ check_gl_error ("glBlendFunc");
/* Reserve space for the GL_ARRAY_BUFFER */
glBufferData(GL_ARRAY_BUFFER, 12 * 5 * sizeof(float), nullptr, GL_STATIC_DRAW);