From df5c80e99e3364cd7923aa473c1bd906ec4c71f0 Mon Sep 17 00:00:00 2001 From: Kiritow <1362050620@qq.com> Date: Wed, 4 Jan 2017 00:07:11 +0800 Subject: [PATCH] Fix Bug on C4droid: "SDL2 Plugin For C4droid has stopped." --- InitManager.cpp | 4 ---- InitManager.h | 1 - main.cpp | 5 +++++ 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/InitManager.cpp b/InitManager.cpp index 29d80b3..89ac0ac 100644 --- a/InitManager.cpp +++ b/InitManager.cpp @@ -111,7 +111,3 @@ InitManager_Mix::~InitManager_Mix() Mix_Quit(); } -InitManager_SDL syssdl; -InitManager_IMG sysimg; -InitManager_TTF systtf; -InitManager_Mix sysmix; diff --git a/InitManager.h b/InitManager.h index ca98d37..85eeb3d 100644 --- a/InitManager.h +++ b/InitManager.h @@ -41,4 +41,3 @@ extern InitManager_SDL syssdl; extern InitManager_IMG sysimg; extern InitManager_TTF systtf; extern InitManager_Mix sysmix; - diff --git a/main.cpp b/main.cpp index df57d2a..f2d14ad 100644 --- a/main.cpp +++ b/main.cpp @@ -1,6 +1,11 @@ #include "config.h" #include "App.h" +InitManager_SDL syssdl; +InitManager_IMG sysimg; +InitManager_TTF systtf; +InitManager_Mix sysmix; + int main() { mlog_init();