use SDL_GetEvent

This commit is contained in:
Glenn Maynard
2003-04-12 19:03:02 +00:00
parent 3046f71c66
commit eb1e2a0435
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -508,7 +508,7 @@ static void HandleSDLEvents()
{
// process all queued events
SDL_Event event;
while(SDL_PeepEvents(&event, 1, SDL_GETEVENT, SDL_QUITMASK|SDL_ACTIVEEVENTMASK))
while(SDL_GetEvent(event, SDL_QUITMASK|SDL_ACTIVEEVENTMASK))
{
switch(event.type)
{