test/testnative.c
changeset 3685 64ce267332c6
parent 3601 240a7700a271
child 5062 e8916fe9cfc8
     1.1 --- a/test/testnative.c	Thu Jan 21 05:49:41 2010 +0000
     1.2 +++ b/test/testnative.c	Thu Jan 21 06:21:52 2010 +0000
     1.3 @@ -36,11 +36,11 @@
     1.4      exit(rc);
     1.5  }
     1.6  
     1.7 -SDL_TextureID
     1.8 -LoadSprite(SDL_WindowID window, char *file)
     1.9 +SDL_Texture *
    1.10 +LoadSprite(SDL_Window * window, char *file)
    1.11  {
    1.12      SDL_Surface *temp;
    1.13 -    SDL_TextureID sprite;
    1.14 +    SDL_Texture *sprite;
    1.15  
    1.16      /* Load the sprite image */
    1.17      temp = SDL_LoadBMP(file);
    1.18 @@ -69,7 +69,7 @@
    1.19  }
    1.20  
    1.21  void
    1.22 -MoveSprites(SDL_WindowID window, SDL_TextureID sprite)
    1.23 +MoveSprites(SDL_Window * window, SDL_Texture * sprite)
    1.24  {
    1.25      int i, n;
    1.26      int window_w, window_h;
    1.27 @@ -113,8 +113,8 @@
    1.28  {
    1.29      int i, done;
    1.30      const char *driver;
    1.31 -    SDL_WindowID window;
    1.32 -    SDL_TextureID sprite;
    1.33 +    SDL_Window *window;
    1.34 +    SDL_Texture *sprite;
    1.35      int window_w, window_h;
    1.36      int sprite_w, sprite_h;
    1.37      SDL_Event event;