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

Commit

Permalink
Make sure the resize event gets through
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 29, 2011
1 parent 0020511 commit b682ae0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/video/uikit/SDL_uikitwindow.m
Expand Up @@ -79,8 +79,6 @@ - (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrie
SDL_assert(0 && "Unexpected interface orientation!");
return;
}
self->window->w = w;
self->window->h = h;
frame.size.width = w;
frame.size.height = h;
SDL_SendWindowEvent(self->window, SDL_WINDOWEVENT_RESIZED, w, h);
Expand Down

0 comments on commit b682ae0

Please sign in to comment.