aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/mutex.cpp
diff options
context:
space:
mode:
authorAlejandro Marzini2010-06-01 04:02:44 +0000
committerAlejandro Marzini2010-06-01 04:02:44 +0000
commit38dbbca964ac182439c2e61840783a4b7465688a (patch)
tree69baa4dc8fd6a225535c5c645c0c2084cc67af1c /backends/platform/sdl/mutex.cpp
parent0bc8f4c8b4050c54e551aabdf58b30be79b6720c (diff)
downloadscummvm-rg350-38dbbca964ac182439c2e61840783a4b7465688a.tar.gz
scummvm-rg350-38dbbca964ac182439c2e61840783a4b7465688a.tar.bz2
scummvm-rg350-38dbbca964ac182439c2e61840783a4b7465688a.zip
Removed OSystem pointer. Added left initialization code to file subsystem.
svn-id: r49370
Diffstat (limited to 'backends/platform/sdl/mutex.cpp')
-rw-r--r--backends/platform/sdl/mutex.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/sdl/mutex.cpp b/backends/platform/sdl/mutex.cpp
index ce9eef6a96..28a495cbd9 100644
--- a/backends/platform/sdl/mutex.cpp
+++ b/backends/platform/sdl/mutex.cpp
@@ -27,7 +27,8 @@
SdlSubSys_Mutex::SdlSubSys_Mutex()
:
- _inited(false) {
+ _inited(false),
+ _graphicsMutex(0) {
}
@@ -37,11 +38,10 @@ SdlSubSys_Mutex::~SdlSubSys_Mutex() {
}
}
-void SdlSubSys_Mutex::mutexInit(OSystem *mainSys) {
+void SdlSubSys_Mutex::mutexInit() {
if (_inited) {
return;
}
- _mainSys = mainSys;
_graphicsMutex = createMutex();