SDL basic window resize working