Martin Felis 13 лет назад
Родитель
Сommit
17c3910d84
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      jni/love/src/modules/graphics/opengl/Graphics.cpp

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

@@ -1053,7 +1053,7 @@ void Graphics::push()
 {
 	if (gl.matrices.transform.size() == matrixLimit)
 		throw Exception("Maximum stack depth reached. (More pushes than pops?)");
-	gl.matrices.transform.push(Matrix());
+	gl.matrices.transform.push(gl.matrices.transform.top());
 	pixel_size_stack.push_back(pixel_size_stack.back());
 }