src/video/SDL_video.c
changeset 6554 5bcda034e678
parent 6547 38bc368a3b87
child 6602 533131e24aeb
child 8327 bc51589f33dc
     1.1 --- a/src/video/SDL_video.c	Wed Oct 03 19:39:12 2012 -0700
     1.2 +++ b/src/video/SDL_video.c	Wed Oct 03 20:22:14 2012 -0700
     1.3 @@ -943,8 +943,6 @@
     1.4      center.x = window->x + window->w / 2;
     1.5      center.y = window->y + window->h / 2;
     1.6      for (i = 0; i < _this->num_displays; ++i) {
     1.7 -        SDL_VideoDisplay *display = &_this->displays[i];
     1.8 -
     1.9          SDL_GetDisplayBounds(i, &rect);
    1.10          if (SDL_EnclosePoints(&center, 1, &rect, NULL)) {
    1.11              return i;