From: Carl Hetherington Date: Sun, 22 May 2022 19:28:58 +0000 (+0200) Subject: OpenGL line width > 1.0 does not seem to work on macOS (gives an INVALID_VALUE). X-Git-Tag: v2.16.12~1 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=2d53b0ad98dd010bab33c3db83c89b264ff1e9bb OpenGL line width > 1.0 does not seem to work on macOS (gives an INVALID_VALUE). --- 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");