Fix Bug on C4droid: "SDL2 Plugin For C4droid has stopped."

This commit is contained in:
Kirigaya Kazuto 2017-01-04 00:07:11 +08:00
parent fcf39e5cdb
commit df5c80e99e
3 changed files with 5 additions and 5 deletions

View File

@ -111,7 +111,3 @@ InitManager_Mix::~InitManager_Mix()
Mix_Quit(); Mix_Quit();
} }
InitManager_SDL syssdl;
InitManager_IMG sysimg;
InitManager_TTF systtf;
InitManager_Mix sysmix;

View File

@ -41,4 +41,3 @@ extern InitManager_SDL syssdl;
extern InitManager_IMG sysimg; extern InitManager_IMG sysimg;
extern InitManager_TTF systtf; extern InitManager_TTF systtf;
extern InitManager_Mix sysmix; extern InitManager_Mix sysmix;

View File

@ -1,6 +1,11 @@
#include "config.h" #include "config.h"
#include "App.h" #include "App.h"
InitManager_SDL syssdl;
InitManager_IMG sysimg;
InitManager_TTF systtf;
InitManager_Mix sysmix;
int main() int main()
{ {
mlog_init(); mlog_init();