Parcourir la source

Apply the line width patch

Bart van Strien il y a 13 ans
Parent
commit
bc4e59ba24
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 1 3
      src/modules/graphics/opengl/Graphics.cpp

+ 1 - 3
src/modules/graphics/opengl/Graphics.cpp

@@ -622,9 +622,7 @@ namespace opengl
 
 
 	float Graphics::getLineWidth()
 	float Graphics::getLineWidth()
 	{
 	{
-		float w;
-		glGetFloatv(GL_LINE_WIDTH, &w);
-		return w;
+		return lineWidth;
 	}
 	}
 
 
 	Graphics::LineStyle Graphics::getLineStyle()
 	Graphics::LineStyle Graphics::getLineStyle()