diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index c6835f24c..9d9d86ee9 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -622,9 +622,7 @@ namespace opengl float Graphics::getLineWidth() { - float w; - glGetFloatv(GL_LINE_WIDTH, &w); - return w; + return lineWidth; } Graphics::LineStyle Graphics::getLineStyle()