test/testspriteminimal.c
changeset 3685 64ce267332c6
parent 3596 f638ded38b8a
child 4969 d2247eb39fab
     1.1 --- a/test/testspriteminimal.c	Thu Jan 21 05:49:41 2010 +0000
     1.2 +++ b/test/testspriteminimal.c	Thu Jan 21 06:21:52 2010 +0000
     1.3 @@ -12,7 +12,7 @@
     1.4  #define NUM_SPRITES     100
     1.5  #define MAX_SPEED       1
     1.6  
     1.7 -static SDL_TextureID sprite;
     1.8 +static SDL_Texture *sprite;
     1.9  static SDL_Rect positions[NUM_SPRITES];
    1.10  static SDL_Rect velocities[NUM_SPRITES];
    1.11  static int sprite_w, sprite_h;
    1.12 @@ -78,7 +78,7 @@
    1.13  }
    1.14  
    1.15  void
    1.16 -MoveSprites(SDL_WindowID window, SDL_TextureID sprite)
    1.17 +MoveSprites(SDL_Window * window, SDL_Texture * sprite)
    1.18  {
    1.19      int i;
    1.20      int window_w = WINDOW_WIDTH;
    1.21 @@ -115,7 +115,7 @@
    1.22  int
    1.23  main(int argc, char *argv[])
    1.24  {
    1.25 -    SDL_WindowID window;
    1.26 +    SDL_Window *window;
    1.27      int i, done;
    1.28      SDL_Event event;
    1.29