From 6ddc84613db1c003b43c133eef32d2754606fcb1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 14 Mar 2006 07:33:46 +0000 Subject: [PATCH] fix d3d output off by one pixel --- stepmania/src/RageDisplay_D3D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageDisplay_D3D.cpp b/stepmania/src/RageDisplay_D3D.cpp index 849acf3f6f..89208e0e08 100644 --- a/stepmania/src/RageDisplay_D3D.cpp +++ b/stepmania/src/RageDisplay_D3D.cpp @@ -786,7 +786,7 @@ void RageDisplay_D3D::SendCurrentMatrices() /* Convert to OpenGL-style "pixel-centered" coords */ RageMatrix m; - RageMatrixTranslation( &m, -0.5f, -0.5f, 0 ); + RageMatrixTranslation( &m, +0.5f, +0.5f, 0 ); RageMatrixMultiply( &m, &m, GetWorldTop() ); g_pd3dDevice->SetTransform( D3DTS_WORLD, (D3DMATRIX*)&m );