Inverted Y display axis while using Cairo-based rendering backend.

This commit is contained in:
Maciej Suminski 2013-04-15 17:59:38 +02:00
parent 820e6e5e16
commit 01ebf03110
1 changed files with 2 additions and 2 deletions

View File

@ -786,11 +786,11 @@ void CAIRO_GAL::ComputeWorldScreenMatrix()
MATRIX3x3D translation;
translation.SetIdentity();
translation.SetTranslation( 0.5 * VECTOR2D( screenSize.x, screenSize.y ) );
translation.SetTranslation( 0.5 * screenSize );
MATRIX3x3D scale;
scale.SetIdentity();
scale.SetScale( VECTOR2D( worldScale, -worldScale ) );
scale.SetScale( VECTOR2D( worldScale, worldScale ) );
MATRIX3x3D lookat;
lookat.SetIdentity();