Revert; SDL_PollEvent() never returns -1.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3714 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -186,7 +186,7 @@ TFB_ProcessEvents ()
|
|||||||
{
|
{
|
||||||
SDL_Event Event;
|
SDL_Event Event;
|
||||||
|
|
||||||
while (SDL_PollEvent (&Event) > 0)
|
while (SDL_PollEvent (&Event))
|
||||||
{
|
{
|
||||||
/* Run through the InputEvent filter. */
|
/* Run through the InputEvent filter. */
|
||||||
ProcessInputEvent (&Event);
|
ProcessInputEvent (&Event);
|
||||||
|
|||||||
Reference in New Issue
Block a user