cleanup
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user