projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63474f9
)
Change glLineWidth from 2.0 -> 1.0.
v2.15.164
author
Carl Hetherington
<cth@carlh.net>
Thu, 30 Sep 2021 22:37:33 +0000
(
00:37
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 30 Sep 2021 22:37:33 +0000
(
00:37
+0200)
Apparently a line width of greater than 1.0 is not allowed
in some versions of OpenGL.
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 aa757ae45bbf580e8fdb1437a795b277160b370b..f1f1a7e71678dfedb8fedc1ec205e9ca8438f5eb 100644
(file)
--- a/
src/wx/gl_video_view.cc
+++ b/
src/wx/gl_video_view.cc
@@
-435,7
+435,7
@@
GLVideoView::setup_shaders ()
check_gl_error ("glGetUniformLocation");
glUniformMatrix4fv (colour_conversion, 1, GL_TRUE, gl_matrix);
- glLineWidth (
2
.0f);
+ glLineWidth (
1
.0f);
check_gl_error ("glLineWidth");
glEnable (GL_BLEND);
check_gl_error ("glEnable");