From 10b175566b2e6d2ff757af17d0ec8ad3b230cb30 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 16 Jan 2005 22:14:39 +0000 Subject: [PATCH] preserve aspect ratio in screenshots even if resolution is 640x480 --- stepmania/src/RageDisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index afefb10d5b..8296926cbd 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -671,7 +671,7 @@ bool RageDisplay::SaveScreenshot( CString sPath, GraphicsFileFormat format ) /* Unless we're in lossless, resize the image to 640x480. If we're saving lossy, * there's no sense in saving 1280x960 screenshots, and we don't want to output * screenshots in a strange (non-1) sample aspect ratio. */ - if( format != SAVE_LOSSLESS && (surface->h != 640 || surface->w != 480) ) + if( format != SAVE_LOSSLESS ) { /* Maintain the DAR. */ int iWidth = lrintf( 640 / GetVideoModeParams().fDisplayAspectRatio );