samsungtv: no need make surface conversion here any more, sdl do that with internal emulation

svn-id: r45971
This commit is contained in:
Paweł Kołodziejski 2009-11-18 10:14:30 +00:00
parent c4c30ca3ce
commit 424c5eea92
5 changed files with 1 additions and 88 deletions

View file

@ -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