From bf03bec1203a42c754baa7c627d8b84f38075ec1 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 30 May 2014 01:48:26 -0400 Subject: [PATCH] Patched to compile on Visual Studio. --- test/testhittesting.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/testhittesting.c b/test/testhittesting.c index 4ac535cafac28..f6ae4ee70aab3 100644 --- a/test/testhittesting.c +++ b/test/testhittesting.c @@ -47,14 +47,15 @@ int main(int argc, char **argv) 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;