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
@@ -82,7 +82,7 @@ InputHandler_SDL::~InputHandler_SDL()
void InputHandler_SDL::Update(float fDeltaTime)
{
SDL_Event event;
while(SDL_PeepEvents(&event, 1, SDL_GETEVENT, SDL_EventMask))
while(SDL_GetEvent(event, SDL_EventMask))
{
switch(event.type)
{