Controlling window size in unix

Hi all,

I haven’t touched one of my projects for quite a while, and it looks like there have been quite a few changes to the SDL drivers. Previously to change the size multiplier on the display I was modifying MONITOR_ZOOM in SLD_Monitor.c. I know this file has been removed and I have found a similar parameter SDL_ZOOM in sdl_common.c and this seems to be set to an sdl_zoom variable. Having looked through the code, I cannot see an obvious place where this variable can be set.

Any pointers on this would be greatly appreciated.

Thanks

Hi @minyiky ,

You can set it on runtime on the init function, by passing the parameter “zoom”