summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-05-22 21:28:58 +0200
committerCarl Hetherington <cth@carlh.net>2022-05-22 21:29:14 +0200
commit2d53b0ad98dd010bab33c3db83c89b264ff1e9bb (patch)
treee2b4efcc38914dbe86d48db054bb0b4087f6306e
parent142f75bdbba9316f9180fb7a94ebc199a61fa04f (diff)
OpenGL line width > 1.0 does not seem to work on macOS (gives an INVALID_VALUE).
-rw-r--r--src/wx/gl_video_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc
index e912ae924..29d44fcd2 100644
--- 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");