File style cleanup for the SDL 2.0 release
This commit is contained in:
parent
2ac8624930
commit
0cb6385637
376 changed files with 17562 additions and 17773 deletions
|
@ -125,7 +125,7 @@ WatchGameController(SDL_GameController * gamecontroller)
|
|||
|
||||
/* Print info about the controller we are watching */
|
||||
printf("Watching controller %s\n", name ? name : "Unknown Controller");
|
||||
|
||||
|
||||
/* Loop, getting controller events! */
|
||||
while (!done) {
|
||||
/* blank screen, set up for drawing this frame. */
|
||||
|
@ -199,7 +199,7 @@ WatchGameController(SDL_GameController * gamecontroller)
|
|||
SDL_SetRenderDrawColor(screen, 0x00, 0x00, 0xFF, SDL_ALPHA_OPAQUE);
|
||||
|
||||
SDL_RenderPresent(screen);
|
||||
|
||||
|
||||
if ( !done )
|
||||
done = SDL_GameControllerGetAttached( gamecontroller ) == 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue