make sphere mapping texture coords look more like OpenGL (though it's still significantly different when viewing side-by-side)

This commit is contained in:
Chris Danford
2005-11-11 21:11:30 +00:00
parent f0bb643e11
commit d081c0902c
+3 -3
View File
@@ -791,7 +791,7 @@ RageSurface* RageDisplay_D3D::CreateScreenshot()
#endif #endif
} }
VideoModeParams RageDisplay_D3D::GetVideoModeParams() const VideoModeParams RageDisplay_D3D::GetActualVideoModeParams() const
{ {
VideoModeParams p; VideoModeParams p;
GraphicsWindow::GetParams( p ); GraphicsWindow::GetParams( p );
@@ -830,8 +830,8 @@ void RageDisplay_D3D::SendCurrentMatrices()
{ {
static const RageMatrix tex = RageMatrix static const RageMatrix tex = RageMatrix
( (
0.50f, 0.0f, 0.0f, 0.0f, 0.8f, 0.0f, 0.0f, 0.0f,
0.0f, -0.50f, 0.0f, 0.0f, 0.0f, -0.8f, 0.0f, 0.0f,
0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f,
0.50, -0.50, 0.0f, 1.0f 0.50, -0.50, 0.0f, 1.0f
); );