Przeglądaj źródła

Removed unused function.

Ryan C. Gordon 11 lat temu
rodzic
commit
f0aa97d20f
1 zmienionych plików z 0 dodań i 7 usunięć
  1. 0 7
      test/controllermap.c

+ 0 - 7
test/controllermap.c

@@ -96,13 +96,6 @@ LoadTexture(SDL_Renderer *renderer, char *file, SDL_bool transparent)
     return texture;
 }
 
-static void
-DrawRect(SDL_Renderer *r, const int x, const int y, const int w, const int h)
-{
-    const SDL_Rect area = { x, y, w, h };
-    SDL_RenderFillRect(r, &area);
-}
-
 static SDL_bool
 WatchJoystick(SDL_Joystick * joystick)
 {