The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
How to reset SetRenderLogicalSize ?
sgrsgsrg


Joined: 06 Sep 2016
Posts: 18
I can't find a way to remove SetRenderLogicalSize stretching effect once i called this function in my application, and I didnt find any documentation about that.

How should i proceed?
How to reset SetRenderLogicalSize ?
Sik


Joined: 26 Nov 2011
Posts: 905
Use SDL_RenderGetLogicalSize before you change the size? Then you can
just restore those values later by setting it again.
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org