zoomSurface -> RageSurfaceUtils::Zoom

Zoom() handles its own format limitations
This commit is contained in:
Glenn Maynard
2004-08-28 09:38:22 +00:00
parent b6146043d1
commit 19f2cf7e3b
6 changed files with 12 additions and 14 deletions
+1 -3
View File
@@ -151,9 +151,7 @@ void RageBitmapTexture::Create()
}
if( img->w != m_iImageWidth || img->h != m_iImageHeight )
{
zoomSurface(img, m_iImageWidth, m_iImageHeight );
}
RageSurfaceUtils::Zoom( img, m_iImageWidth, m_iImageHeight );
// Format of the image that we will pass to OpenGL and that we want OpenGL to use
RageDisplay::PixelFormat pixfmt;