Commit 8e668b06 authored by Sam Lantinga's avatar Sam Lantinga

Make sure the resize event gets through

parent e0bb29f4
...@@ -79,8 +79,6 @@ ...@@ -79,8 +79,6 @@
SDL_assert(0 && "Unexpected interface orientation!"); SDL_assert(0 && "Unexpected interface orientation!");
return; return;
} }
self->window->w = w;
self->window->h = h;
frame.size.width = w; frame.size.width = w;
frame.size.height = h; frame.size.height = h;
SDL_SendWindowEvent(self->window, SDL_WINDOWEVENT_RESIZED, w, h); SDL_SendWindowEvent(self->window, SDL_WINDOWEVENT_RESIZED, w, h);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment