summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-01 00:37:33 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-01 00:37:33 +0200
commitc73a5213590cb50a0df8d19a1030d6625a954112 (patch)
tree0f65de0e668462892a5271168ae911e34b1e60ea
parent63474f980b36b0b845f86b048965314a571a419e (diff)
Change glLineWidth from 2.0 -> 1.0.v2.15.164
Apparently a line width of greater than 1.0 is not allowed in some versions of OpenGL.
-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 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");