Code don't compile with SDL 2.0.0: SDL_WINDOW_ALLOW_HIGHDPI is available on SDL 2.0.1 and above.