Browse Source

Fixed shearing resetting transformations

Dermoumi Sid 10 years ago
parent
commit
6a07823224
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/opengl/Graphics.cpp

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

@@ -1404,7 +1404,7 @@ void Graphics::translate(float x, float y)
 
 
 void Graphics::shear(float kx, float ky)
 void Graphics::shear(float kx, float ky)
 {
 {
-	gl.getTransform().setShear(kx, ky);
+	gl.getTransform().shear(kx, ky);
 }
 }
 
 
 void Graphics::origin()
 void Graphics::origin()