Change glLineWidth from 2.0 -> 1.0. v2.15.164
authorCarl Hetherington <cth@carlh.net>
Thu, 30 Sep 2021 22:37:33 +0000 (00:37 +0200)
committerCarl 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

index aa757ae45bbf580e8fdb1437a795b277160b370b..f1f1a7e71678dfedb8fedc1ec205e9ca8438f5eb 100644 (file)
@@ -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");