really only resize SDL window if w&&h