Saturday, 22 August 2015

Stretching Your Game To Fit The Screen Without Letterboxing - SDL2

http://www.gamedev.net/page/resources/_/technical/apis-and-tools/stretching-your-game-to-fit-the-screen-without-letterboxing-sdl2-r3547

...BUT, to get letterboxing and/or keep aspect ratio, use the SDL flag:
SDL_WINDOW_FULLSCREEN_DESKTOP
this way the graphic is not stretched.


No comments:

Post a Comment

Please, no foul language, trolling, keep it clean. Thanx.