diff options
author | Eugene Sandulenko | 2016-09-03 21:20:16 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-03 21:20:16 +0200 |
commit | b8ee5322f4e5c277fcf55852dade79c643cf8cc3 (patch) | |
tree | a9d21085999f8f7b2de39083423ffb20986e554c /backends/graphics | |
parent | 791012344607df1bd364da3e751dc9ad86445c62 (diff) | |
download | scummvm-rg350-b8ee5322f4e5c277fcf55852dade79c643cf8cc3.tar.gz scummvm-rg350-b8ee5322f4e5c277fcf55852dade79c643cf8cc3.tar.bz2 scummvm-rg350-b8ee5322f4e5c277fcf55852dade79c643cf8cc3.zip |
JANITORIAL: Remove trailing whitespaces
Diffstat (limited to 'backends/graphics')
-rw-r--r-- | backends/graphics/surfacesdl/surfacesdl-graphics.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp index 29f94c34d7..f4a466d740 100644 --- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp +++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp @@ -1091,7 +1091,7 @@ void SurfaceSdlGraphicsManager::internUpdateScreen() { dstRect.y = (_osdSurface->h - _osdMessageSurface->h) / 2; dstRect.w = _osdMessageSurface->w; dstRect.h = _osdMessageSurface->h; - blitOSDMessage(dstRect); + blitOSDMessage(dstRect); } } } @@ -2178,13 +2178,13 @@ void SurfaceSdlGraphicsManager::displayMessageOnOSD(const char *msg) { SDL_SWSURFACE | SDL_RLEACCEL | SDL_SRCCOLORKEY | SDL_SRCALPHA, width, height, 32, 0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF ); - + // Lock the surface if (SDL_LockSurface(_osdMessageSurface)) error("displayMessageOnOSD: SDL_LockSurface failed: %s", SDL_GetError()); // Draw a dark gray rect - // TODO: Rounded corners ? Border? + // TODO: Rounded corners ? Border? SDL_FillRect(_osdMessageSurface, nullptr, SDL_MapRGB(_osdMessageSurface->format, 64, 64, 64)); Graphics::Surface dst; @@ -2258,7 +2258,7 @@ void SurfaceSdlGraphicsManager::copyRectToOSD(const void *buf, int pitch, int x, } void SurfaceSdlGraphicsManager::clearOSD() { - assert(_transactionMode == kTransactionNone); + assert(_transactionMode == kTransactionNone); Common::StackLock lock(_graphicsMutex); // Lock the mutex until this function ends @@ -2292,7 +2292,7 @@ void SurfaceSdlGraphicsManager::removeOSDMessage() { osdRect.w = _osdMessageSurface->w; osdRect.h = _osdMessageSurface->h; SDL_FillRect(_osdSurface, &osdRect, kOSDColorKey); - SDL_FreeSurface(_osdMessageSurface); + SDL_FreeSurface(_osdMessageSurface); } _osdMessageSurface = NULL; |