src/video/SDL_video.c
changeset 6786 7174fb08017a
parent 6784 8fd20f04d5d9
child 6787 95a4c5a5464c
     1.1 --- a/src/video/SDL_video.c	Mon Dec 31 10:26:38 2012 -0800
     1.2 +++ b/src/video/SDL_video.c	Mon Dec 31 10:29:17 2012 -0800
     1.3 @@ -914,7 +914,7 @@
     1.4  }
     1.5  
     1.6  int
     1.7 -SDL_GetWindowDisplay(SDL_Window * window)
     1.8 +SDL_GetWindowDisplayIndex(SDL_Window * window)
     1.9  {
    1.10      int displayIndex;
    1.11      int i, dist;
    1.12 @@ -976,7 +976,7 @@
    1.13  SDL_VideoDisplay *
    1.14  SDL_GetDisplayForWindow(SDL_Window *window)
    1.15  {
    1.16 -    int displayIndex = SDL_GetWindowDisplay(window);
    1.17 +    int displayIndex = SDL_GetWindowDisplayIndex(window);
    1.18      if (displayIndex >= 0) {
    1.19          return &_this->displays[displayIndex];
    1.20      } else {