Skip to content

Commit

Permalink
Patched to compile on Visual Studio.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 30, 2014
1 parent 4ef6edd commit bf03bec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/testhittesting.c
Expand Up @@ -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;

Expand Down

0 comments on commit bf03bec

Please sign in to comment.