This commit is contained in:
Glenn Maynard
2005-01-20 01:42:05 +00:00
parent 9ebd1d19dd
commit 9fc3addf45
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -690,13 +690,13 @@ bool RageDisplay::SaveScreenshot( CString sPath, GraphicsFileFormat format )
switch( format )
{
case SAVE_LOSSLESS:
bSuccess = RageSurface_Save_BMP( surface, out );
bSuccess = RageSurfaceUtils::SaveBMP( surface, out );
break;
case SAVE_LOSSY_LOW_QUAL:
bSuccess = IMG_SaveJPG_RW( surface, out, false );
bSuccess = RageSurfaceUtils::SaveJPEG( surface, out, false );
break;
case SAVE_LOSSY_HIGH_QUAL:
bSuccess = IMG_SaveJPG_RW( surface, out, true );
bSuccess = RageSurfaceUtils::SaveJPEG( surface, out, true );
break;
default:
ASSERT(0);
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef SM_SDL_DITHER_H
#define SM_SDL_DITHER_H
#ifndef RAGE_SURFACE_UTILS_DITHER_H
#define RAGE_SURFACE_UTILS_DITHER_H
struct RageSurface;
namespace RageSurfaceUtils
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef SDL_ROTOZOOM_H
#define SDL_ROTOZOOM_H
#ifndef RAGE_SURFACE_UTILS_ZOOM_H
#define RAGE_SURFACE_UTILS_ZOOM_H
struct RageSurface;
namespace RageSurfaceUtils
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef SDL_SAVE_JPEG_H
#define SDL_SAVE_JPEG_H
#ifndef RAGE_SURFACE_SAVE_JPEG_H
#define RAGE_SURFACE_SAVE_JPEG_H
struct RageSurface;
class RageFile;