mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-28 16:58:44 +00:00
WinRT: minor code-comment cleanups
This commit is contained in:
parent
6823a22162
commit
44c0b2da87
2 changed files with 1 additions and 5 deletions
|
|
@ -220,11 +220,6 @@ WINRT_ProcessWindowSizeChange() // TODO: Pass an SDL_Window-identifying thing in
|
|||
|
||||
const Uint32 latestFlags = WINRT_DetectWindowFlags(window);
|
||||
if (latestFlags & SDL_WINDOW_MAXIMIZED) {
|
||||
/* SDL_SendWindowEvent, as of this writing (2015-Dec-27), *won't* actually
|
||||
send events if the associated flag is already set. This is taken
|
||||
advantage of here. The below call is only meant to send a
|
||||
window event, if and when it is needed!
|
||||
*/
|
||||
SDL_SendWindowEvent(window, SDL_WINDOWEVENT_MAXIMIZED, 0, 0);
|
||||
} else {
|
||||
SDL_SendWindowEvent(window, SDL_WINDOWEVENT_RESTORED, 0, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue