comparison src/events/SDL_events.c @ 5157:fb424691cfc7

Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 02 Feb 2011 14:34:54 -0800
parents 3052772b59db
children b530ef003506
comparison
equal deleted inserted replaced
5156:3e4086b3bcd2 5157:fb424691cfc7
114 114
115 /* This function (and associated calls) may be called more than once */ 115 /* This function (and associated calls) may be called more than once */
116 int 116 int
117 SDL_StartEventLoop(void) 117 SDL_StartEventLoop(void)
118 { 118 {
119 int retcode;
120
121 /* Clean out the event queue */ 119 /* Clean out the event queue */
122 SDL_EventQ.lock = NULL; 120 SDL_EventQ.lock = NULL;
123 SDL_StopEventLoop(); 121 SDL_StopEventLoop();
124 122
125 /* No filter to start with, process most event types */ 123 /* No filter to start with, process most event types */