mirror of
https://github.com/glest/glest-source.git
synced 2025-08-17 05:43:59 +02:00
- change sdl mutex name to new sdl2 name
This commit is contained in:
@@ -421,12 +421,12 @@ public:
|
||||
|
||||
void Lock() {
|
||||
if(mutex != NULL && *mutex != NULL) {
|
||||
SDL_mutexP(*mutex);
|
||||
SDL_LockMutex(*mutex);
|
||||
}
|
||||
}
|
||||
void ReleaseLock(bool keepMutex=false) {
|
||||
if(mutex != NULL && *mutex != NULL) {
|
||||
SDL_mutexV(*mutex);
|
||||
SDL_UnlockMutex(*mutex);
|
||||
|
||||
if(keepMutex == false) {
|
||||
mutex = NULL;
|
||||
|
Reference in New Issue
Block a user