diff --git a/AUTHORS b/AUTHORS index 7cb262d..3357107 100644 --- a/AUTHORS +++ b/AUTHORS @@ -28,7 +28,8 @@ Nicolas Vion Adrien Grand - Java bindings -Alex Foulon +Alex Foulon - Python bindings + - SDL driver */ diff --git a/caca/caca.c b/caca/caca.c index d7320bf..88dea52 100644 --- a/caca/caca.c +++ b/caca/caca.c @@ -329,7 +329,7 @@ static int caca_install_driver(caca_display_t *dp, char const *driver) dp->events.autorepeat_ticks = 0; dp->events.last_key_event.type = CACA_EVENT_NONE; #endif -#if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO) || defined(USE_GL) +#if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO) || defined(USE_GL) || defined(USE_SDL) dp->events.queue = 0; #endif diff --git a/caca/driver/sdl.c b/caca/driver/sdl.c index da2b97d..20bca2e 100644 --- a/caca/driver/sdl.c +++ b/caca/driver/sdl.c @@ -1,7 +1,7 @@ /* * libcaca Colour ASCII-Art library - * Copyright (c) 2002-2012 Sam Hocevar - * 2013 Alex Foulon + * Copyright (c) 2002-2015 Sam Hocevar + * 2013-2015 Alex Foulon * All Rights Reserved * * This library is free software. It comes without any warranty, to @@ -461,7 +461,7 @@ int sdl_install(caca_display_t *dp) if(!getenv("DISPLAY") || !*(getenv("DISPLAY"))) return -1; #endif - + dp->drv.id = CACA_DRIVER_SDL; dp->drv.driver = "sdl";