projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
142f75b
)
OpenGL line width > 1.0 does not seem to work on macOS (gives an INVALID_VALUE).
author
Carl Hetherington
<cth@carlh.net>
Sun, 22 May 2022 19:28:58 +0000
(21:28 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 22 May 2022 19:29:14 +0000
(21:29 +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 e912ae924df23f7555c43190bdb8545dbd78d6d2..29d44fcd2a6bf9bbd0126573b432a7dc815347b5 100644
(file)
--- a/
src/wx/gl_video_view.cc
+++ b/
src/wx/gl_video_view.cc
@@
-466,7
+466,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");