Daniele Bartolini 13 лет назад
Родитель
Сommit
e32098139e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/Camera.cpp

+ 2 - 2
src/Camera.cpp

@@ -154,8 +154,8 @@ const Frustum& Camera::GetFrustum() const
 
 void Camera::Render()
 {
-	GetDevice()->GetRenderer()->SetMatrix(MT_PROJECTION, mProjection);
-	GetDevice()->GetRenderer()->SetMatrix(MT_VIEW, mView);
+	GetDevice()->GetRenderer()->set_matrix(MT_PROJECTION, mProjection);
+	GetDevice()->GetRenderer()->set_matrix(MT_VIEW, mView);
 }
 
 void Camera::UpdateProjectionMatrix()