aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
authorPaweł Kołodziejski2009-11-18 10:14:30 +0000
committerPaweł Kołodziejski2009-11-18 10:14:30 +0000
commit424c5eea92ea9f272f6fee901725d528a060dd42 (patch)
tree0709dffcc377edfc913dfa3e131645f615e5e9ae /backends/platform/sdl
parentc4c30ca3ce75dcc2059284f3751f0f124aa6dbbd (diff)
downloadscummvm-rg350-424c5eea92ea9f272f6fee901725d528a060dd42.tar.gz
scummvm-rg350-424c5eea92ea9f272f6fee901725d528a060dd42.tar.bz2
scummvm-rg350-424c5eea92ea9f272f6fee901725d528a060dd42.zip
samsungtv: no need make surface conversion here any more, sdl do that with internal emulation
svn-id: r45971
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/graphics.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp
index a1334b416e..077a9d519c 100644
--- a/backends/platform/sdl/graphics.cpp
+++ b/backends/platform/sdl/graphics.cpp
@@ -568,11 +568,6 @@ bool OSystem_SDL::loadGFXMode() {
fixupResolutionForAspectRatio(_videoMode.desiredAspectRatio, _videoMode.hardwareWidth, _videoMode.hardwareHeight);
}
-#if defined(SAMSUNGTV)
- _hwscreen = SDL_CreateRGBSurface(SDL_SWSURFACE, _videoMode.hardwareWidth, _videoMode.hardwareHeight, 16, 0, 0, 0, 0);
- if (_hwscreen == NULL)
- error("allocating _hwscreen failed");
-#else
_hwscreen = SDL_SetVideoMode(_videoMode.hardwareWidth, _videoMode.hardwareHeight, 16,
_videoMode.fullscreen ? (SDL_FULLSCREEN|SDL_SWSURFACE) : SDL_SWSURFACE
);
@@ -587,7 +582,6 @@ bool OSystem_SDL::loadGFXMode() {
return false;
}
}
-#endif
//
// Create the surface used for the graphics in 16 bit before scaling, and also the overlay