From d4734bd4f2963168f794691a618869ba4e558aaa Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 4 Oct 2003 11:50:21 +0000 Subject: use namespace Common a bit more; don't zero the RNG in scumm (else the seed gets reset); remove obsolete 256 color blending code svn-id: r10592 --- backends/sdl/sdl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backends/sdl/sdl.cpp') diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index ad1c0d813c..93f8fb2a26 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -239,7 +239,7 @@ void OSystem_SDL::hotswap_gfx_mode() { void OSystem_SDL::update_screen() { assert(_hwscreen != NULL); - StackLock lock(_graphicsMutex, this); // Lock the mutex until this function ends + Common::StackLock lock(_graphicsMutex, this); // Lock the mutex until this function ends // If the shake position changed, fill the dirty area with blackness if (_currentShakePos != _newShakePos) { @@ -369,7 +369,7 @@ void OSystem_SDL::update_screen() { uint32 OSystem_SDL::property(int param, Property *value) { - StackLock lock(_graphicsMutex, this); // Lock the mutex until this function ends + Common::StackLock lock(_graphicsMutex, this); // Lock the mutex until this function ends if (param == PROP_TOGGLE_FULLSCREEN) { assert(_hwscreen != 0); @@ -408,7 +408,7 @@ uint32 OSystem_SDL::property(int param, Property *value) { bool OSystem_SDL::save_screenshot(const char *filename) { assert(_hwscreen != NULL); - StackLock lock(_graphicsMutex, this); // Lock the mutex until this function ends + Common::StackLock lock(_graphicsMutex, this); // Lock the mutex until this function ends SDL_SaveBMP(_hwscreen, filename); return true; } -- cgit v1.2.3