using SDL_WINDOWEVENT_SIZE_CHANGED for tracking window size changes,
authorJohn Tsiombikas <nuclear@mutantstargoat.com>
Tue, 3 Jan 2017 07:35:16 +0000 (09:35 +0200)
committerJohn Tsiombikas <nuclear@mutantstargoat.com>
Tue, 3 Jan 2017 07:35:16 +0000 (09:35 +0200)
commit22e03ce83ae740c09912cf8acd5307a67c59471d
tree67fff9de17ef3f1b7929a50cf19962176f14dcd7
parent6fd661e5b1462f28cb5c6a73ecc066ada09657b3
using SDL_WINDOWEVENT_SIZE_CHANGED for tracking window size changes,
instead of SDL_WINDOWEVENT_RESIZED, which is only sent when the window
is resized extrnally (by the user).
src/main.cc