Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed compiler warning
  • Loading branch information
slouken committed Oct 4, 2012
1 parent ea7384a commit 69f4ac7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/video/SDL_video.c
Expand Up @@ -943,8 +943,6 @@ SDL_GetWindowDisplay(SDL_Window * window)
center.x = window->x + window->w / 2;
center.y = window->y + window->h / 2;
for (i = 0; i < _this->num_displays; ++i) {
SDL_VideoDisplay *display = &_this->displays[i];

SDL_GetDisplayBounds(i, &rect);
if (SDL_EnclosePoints(&center, 1, &rect, NULL)) {
return i;
Expand Down

0 comments on commit 69f4ac7

Please sign in to comment.