fixed compilation when DISABLE_SCALERS
svn-id: r22551
This commit is contained in:
parent
da9bf4dd71
commit
e7a4b46479
1 changed files with 2 additions and 0 deletions
|
@ -1135,9 +1135,11 @@ void OSystem_SDL::clearOverlay() {
|
|||
_scalerProc((byte *)(_tmpscreen->pixels) + _tmpscreen->pitch + 2, _tmpscreen->pitch,
|
||||
(byte *)_overlayscreen->pixels, _overlayscreen->pitch, _screenWidth, _screenHeight);
|
||||
|
||||
#ifndef DISABLE_SCALERS
|
||||
if (_adjustAspectRatio)
|
||||
stretch200To240((uint8 *)_overlayscreen->pixels, _overlayscreen->pitch,
|
||||
_overlayWidth, _screenHeight * _scaleFactor, 0, 0, 0);
|
||||
#endif
|
||||
SDL_UnlockSurface(_tmpscreen);
|
||||
SDL_UnlockSurface(_overlayscreen);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue