From c73a5213590cb50a0df8d19a1030d6625a954112 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 1 Oct 2021 00:37:33 +0200 Subject: Change glLineWidth from 2.0 -> 1.0. Apparently a line width of greater than 1.0 is not allowed in some versions of OpenGL. --- src/wx/gl_video_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc index aa757ae45..f1f1a7e71 100644 --- 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"); -- cgit v1.2.3