diff test/common.c @ 5125:dc0dfdd58f27

Removed completely non-portable event thread hack. Next I'll be working on generalizing the event sources and making the event queue lock-free. :)
author Sam Lantinga <slouken@libsdl.org>
date Thu, 27 Jan 2011 22:44:08 -0800
parents 686d795b1b29
children da10636e5eca
line wrap: on
line diff
--- a/test/common.c	Thu Jan 27 20:51:54 2011 -0800
+++ b/test/common.c	Thu Jan 27 22:44:08 2011 -0800
@@ -616,7 +616,7 @@
                 fprintf(stderr, "\n");
             }
         }
-        if (SDL_VideoInit(state->videodriver, 0) < 0) {
+        if (SDL_VideoInit(state->videodriver) < 0) {
             fprintf(stderr, "Couldn't initialize video driver: %s\n",
                     SDL_GetError());
             return SDL_FALSE;