Patched to compile on Visual Studio.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 30 May 2014 01:48:26 -0400
changeset 8940 850e149d02d8
parent 8939 caaa7653f02b
child 8941 9229a54e4952
Patched to compile on Visual Studio.
test/testhittesting.c
--- a/test/testhittesting.c	Fri May 30 01:48:08 2014 -0400
+++ b/test/testhittesting.c	Fri May 30 01:48:26 2014 -0400
@@ -47,14 +47,15 @@
 
     while (!done)
     {
+        SDL_Event e;
+        int nothing_to_do = 1;
+
         SDL_SetRenderDrawColor(renderer, 0, 0, 127, 255);
         SDL_RenderClear(renderer);
         SDL_SetRenderDrawColor(renderer, 255, 0, 0, 255);
         SDL_RenderFillRects(renderer, areas, SDL_arraysize(drag_areas));
         SDL_RenderPresent(renderer);
 
-        SDL_Event e;
-        int nothing_to_do = 1;
         while (SDL_PollEvent(&e)) {
             nothing_to_do = 0;