Commit 01ebf031 authored by Maciej Suminski's avatar Maciej Suminski

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

parent 820e6e5e
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment