cleanup
This commit is contained in:
@@ -690,13 +690,13 @@ bool RageDisplay::SaveScreenshot( CString sPath, GraphicsFileFormat format )
|
|||||||
switch( format )
|
switch( format )
|
||||||
{
|
{
|
||||||
case SAVE_LOSSLESS:
|
case SAVE_LOSSLESS:
|
||||||
bSuccess = RageSurface_Save_BMP( surface, out );
|
bSuccess = RageSurfaceUtils::SaveBMP( surface, out );
|
||||||
break;
|
break;
|
||||||
case SAVE_LOSSY_LOW_QUAL:
|
case SAVE_LOSSY_LOW_QUAL:
|
||||||
bSuccess = IMG_SaveJPG_RW( surface, out, false );
|
bSuccess = RageSurfaceUtils::SaveJPEG( surface, out, false );
|
||||||
break;
|
break;
|
||||||
case SAVE_LOSSY_HIGH_QUAL:
|
case SAVE_LOSSY_HIGH_QUAL:
|
||||||
bSuccess = IMG_SaveJPG_RW( surface, out, true );
|
bSuccess = RageSurfaceUtils::SaveJPEG( surface, out, true );
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ASSERT(0);
|
ASSERT(0);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef SM_SDL_DITHER_H
|
#ifndef RAGE_SURFACE_UTILS_DITHER_H
|
||||||
#define SM_SDL_DITHER_H
|
#define RAGE_SURFACE_UTILS_DITHER_H
|
||||||
|
|
||||||
struct RageSurface;
|
struct RageSurface;
|
||||||
namespace RageSurfaceUtils
|
namespace RageSurfaceUtils
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef SDL_ROTOZOOM_H
|
#ifndef RAGE_SURFACE_UTILS_ZOOM_H
|
||||||
#define SDL_ROTOZOOM_H
|
#define RAGE_SURFACE_UTILS_ZOOM_H
|
||||||
|
|
||||||
struct RageSurface;
|
struct RageSurface;
|
||||||
namespace RageSurfaceUtils
|
namespace RageSurfaceUtils
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef SDL_SAVE_JPEG_H
|
#ifndef RAGE_SURFACE_SAVE_JPEG_H
|
||||||
#define SDL_SAVE_JPEG_H
|
#define RAGE_SURFACE_SAVE_JPEG_H
|
||||||
|
|
||||||
struct RageSurface;
|
struct RageSurface;
|
||||||
class RageFile;
|
class RageFile;
|
||||||
|
|||||||
Reference in New Issue
Block a user