From d868f794135284a29cfe772cc03daef8c0d83931 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sat, 11 Mar 2017 11:04:37 -0500 Subject: [PATCH] - fixed: Froze on startup on Linux. --- src/posix/sdl/critsec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posix/sdl/critsec.cpp b/src/posix/sdl/critsec.cpp index b339dabcf1..8de14c8df5 100644 --- a/src/posix/sdl/critsec.cpp +++ b/src/posix/sdl/critsec.cpp @@ -11,7 +11,7 @@ class FInternalCriticalSection public: FInternalCriticalSection() { - auto CritSec = SDL_CreateMutex(); + CritSec = SDL_CreateMutex(); if (CritSec == NULL) { I_FatalError("Failed to create a critical section mutex.");