From 05784ee0dc447dee0b72573fe2e1ce7d8331ce18 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 23 Oct 2003 06:18:14 +0000 Subject: [PATCH] GetSourceWidth, not GetTextureHeight --- stepmania/src/GraphDisplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/GraphDisplay.cpp b/stepmania/src/GraphDisplay.cpp index 1617bd298e..2c3b743149 100644 --- a/stepmania/src/GraphDisplay.cpp +++ b/stepmania/src/GraphDisplay.cpp @@ -22,8 +22,8 @@ void GraphDisplay::Load( CString TexturePath, float height ) Unload(); m_pTexture = TEXTUREMAN->LoadTexture( TexturePath ); - m_size.y = (float) m_pTexture->GetTextureHeight(); - m_size.x = (float) m_pTexture->GetTextureWidth(); + m_size.x = (float) m_pTexture->GetSourceWidth(); + m_size.y = (float) m_pTexture->GetSourceHeight(); for( int i = 0; i < VALUE_RESOLUTION; ++i ) m_CurValues[i] = height;