mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-29 18:54:07 +00:00
out of paranoia, put SDL_EnableUnicode() to after SDL_Init
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@514 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -274,10 +274,6 @@ int worker_func(void*)
|
||||
extern "C" void projectM_xmms_init(void)
|
||||
{
|
||||
|
||||
// printf("projectM plugin: Initializing\n");
|
||||
|
||||
SDL_EnableUNICODE(1);
|
||||
|
||||
/* First, initialize SDL's video subsystem. */
|
||||
// std::cerr << "sdl init begin" << std::endl;
|
||||
if( SDL_Init( SDL_INIT_VIDEO | SDL_INIT_TIMER ) < 0 ) {
|
||||
@ -288,6 +284,11 @@ extern "C" void projectM_xmms_init(void)
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
// printf("projectM plugin: Initializing\n");
|
||||
|
||||
SDL_EnableUNICODE(1);
|
||||
|
||||
//std::cerr << "sdl init end" << std::endl;
|
||||
sem = SDL_CreateSemaphore(1);
|
||||
worker_thread = SDL_CreateThread ( *worker_func, NULL);
|
||||
|
||||
Reference in New Issue
Block a user