Inverted Y display axis while using Cairo-based rendering backend.
This commit is contained in:
parent
820e6e5e16
commit
01ebf03110
|
@ -786,11 +786,11 @@ void CAIRO_GAL::ComputeWorldScreenMatrix()
|
||||||
|
|
||||||
MATRIX3x3D translation;
|
MATRIX3x3D translation;
|
||||||
translation.SetIdentity();
|
translation.SetIdentity();
|
||||||
translation.SetTranslation( 0.5 * VECTOR2D( screenSize.x, screenSize.y ) );
|
translation.SetTranslation( 0.5 * screenSize );
|
||||||
|
|
||||||
MATRIX3x3D scale;
|
MATRIX3x3D scale;
|
||||||
scale.SetIdentity();
|
scale.SetIdentity();
|
||||||
scale.SetScale( VECTOR2D( worldScale, -worldScale ) );
|
scale.SetScale( VECTOR2D( worldScale, worldScale ) );
|
||||||
|
|
||||||
MATRIX3x3D lookat;
|
MATRIX3x3D lookat;
|
||||||
lookat.SetIdentity();
|
lookat.SetIdentity();
|
||||||
|
|
Loading…
Reference in New Issue