@@ -28,7 +28,8 @@ Nicolas Vion <nico@picapo.net> | |||||
Adrien Grand <jpountz@dinauz.org> | Adrien Grand <jpountz@dinauz.org> | ||||
- Java bindings | - Java bindings | ||||
Alex Foulon <alxf@lavabit.com> | |||||
Alex Foulon <alxf@vmail.me> | |||||
- Python bindings | - Python bindings | ||||
- SDL driver | |||||
*/ | */ |
@@ -329,7 +329,7 @@ static int caca_install_driver(caca_display_t *dp, char const *driver) | |||||
dp->events.autorepeat_ticks = 0; | dp->events.autorepeat_ticks = 0; | ||||
dp->events.last_key_event.type = CACA_EVENT_NONE; | dp->events.last_key_event.type = CACA_EVENT_NONE; | ||||
#endif | #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; | dp->events.queue = 0; | ||||
#endif | #endif | ||||
@@ -1,7 +1,7 @@ | |||||
/* | /* | ||||
* libcaca Colour ASCII-Art library | * libcaca Colour ASCII-Art library | ||||
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net> | |||||
* 2013 Alex Foulon <alxf@lavabit.com> | |||||
* Copyright (c) 2002-2015 Sam Hocevar <sam@hocevar.net> | |||||
* 2013-2015 Alex Foulon <alxf@vmail.me> | |||||
* All Rights Reserved | * All Rights Reserved | ||||
* | * | ||||
* This library is free software. It comes without any warranty, to | * 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"))) | if(!getenv("DISPLAY") || !*(getenv("DISPLAY"))) | ||||
return -1; | return -1; | ||||
#endif | #endif | ||||
dp->drv.id = CACA_DRIVER_SDL; | dp->drv.id = CACA_DRIVER_SDL; | ||||
dp->drv.driver = "sdl"; | dp->drv.driver = "sdl"; | ||||