Commit 989b9a91 authored by deuce's avatar deuce
Browse files

Allow specification of SDL mode at ciolib initialization.

parent 41002f6f
......@@ -294,6 +294,12 @@ int initciolib(int mode)
case CIOLIB_MODE_ANSI:
try_ansi_init(mode);
break;
#ifdef WITH_SDL
case CIOLIB_MODE_SDL:
try_sdl_init(mode);
break;
#endif
}
if(cio_api.mode==CIOLIB_MODE_AUTO) {
fprintf(stderr,"CIOLIB initialization failed!\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment