mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 05:01:43 +00:00
update to newer overlay interface
svn-id: r36336
This commit is contained in:
parent
af900a2e14
commit
7acb4f01ac
@ -1400,6 +1400,15 @@ bool OSystem_WINCE3::loadGFXMode() {
|
||||
else
|
||||
InitScalers(565);
|
||||
initCEScaler();
|
||||
_overlayFormat.bytesPerPixel = _hwscreen->format->BytesPerPixel;
|
||||
_overlayFormat.rLoss = _hwscreen->format->Rloss;
|
||||
_overlayFormat.gLoss = _hwscreen->format->Gloss;
|
||||
_overlayFormat.bLoss = _hwscreen->format->Bloss;
|
||||
_overlayFormat.aLoss = _hwscreen->format->Aloss;
|
||||
_overlayFormat.rShift = _hwscreen->format->Rshift;
|
||||
_overlayFormat.gShift = _hwscreen->format->Gshift;
|
||||
_overlayFormat.bShift = _hwscreen->format->Bshift;
|
||||
_overlayFormat.aShift = _hwscreen->format->Ashift;
|
||||
|
||||
// Need some extra bytes around when using 2xSaI
|
||||
_tmpscreen = SDL_CreateRGBSurface(SDL_SWSURFACE, _videoMode.screenWidth + 3, _videoMode.screenHeight + 3, 16, _hwscreen->format->Rmask, _hwscreen->format->Gmask, _hwscreen->format->Bmask, _hwscreen->format->Amask);
|
||||
|
Loading…
x
Reference in New Issue
Block a user