diff --git a/src/Platform/NaClApplication.cpp b/src/Platform/NaClApplication.cpp index affad1c7c..7a332dd5f 100644 --- a/src/Platform/NaClApplication.cpp +++ b/src/Platform/NaClApplication.cpp @@ -59,7 +59,8 @@ NaClApplication::NaClApplication(const Arguments& arguments, const Configuration #ifndef DOXYGEN_GENERATING_OUTPUT NaClApplication::NaClApplication(const Arguments& arguments): Instance(arguments), Graphics3DClient(this), MouseLock(this), c(nullptr) { debugOutput = new ConsoleDebugOutput(this); - createContext({}); + /* GCC 4.5 can't handle {} here (wtf) */ + createContext(Configuration()); } #endif diff --git a/src/Platform/WindowlessNaClApplication.cpp b/src/Platform/WindowlessNaClApplication.cpp index 8d81deda8..4e064fcf9 100644 --- a/src/Platform/WindowlessNaClApplication.cpp +++ b/src/Platform/WindowlessNaClApplication.cpp @@ -58,7 +58,8 @@ WindowlessNaClApplication::WindowlessNaClApplication(const Arguments& arguments, #ifndef DOXYGEN_GENERATING_OUTPUT WindowlessNaClApplication::WindowlessNaClApplication(const Arguments& arguments): Instance(arguments), Graphics3DClient(this), c(nullptr) { debugOutput = new ConsoleDebugOutput(this); - createContext({}); + /* GCC 4.5 can't handle {} here (wtf) */ + createContext(Configuration()); } #endif