Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compiler warning

  • Loading branch information
slouken committed Oct 4, 2012
1 parent ea7384a commit 69f4ac7853fb81b711f083f050c9e3e2e67723ef
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/video/SDL_video.c
@@ -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;

0 comments on commit 69f4ac7

Please sign in to comment.