mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 07:57:12 +01:00
make work on win32 again using GLEW
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include <framework/graphics/particlemanager.h>
|
||||
#include <framework/graphics/painter.h>
|
||||
#include <framework/luascript/luainterface.h>
|
||||
#include <framework/platform/crashhandler.h>
|
||||
|
||||
Application *g_app = nullptr;
|
||||
|
||||
@@ -72,6 +73,10 @@ void Application::init(const std::vector<std::string>& args, int appFlags)
|
||||
signal(SIGTERM, exitSignalHandler);
|
||||
signal(SIGINT, exitSignalHandler);
|
||||
|
||||
#ifdef HANDLE_EXCEPTIONS
|
||||
installCrashHandler();
|
||||
#endif
|
||||
|
||||
// initialize lua
|
||||
g_lua.init();
|
||||
registerLuaFunctions();
|
||||
|
||||
Reference in New Issue
Block a user