Hi everyone,
I'd like to make a little addon to switch from full screen to windowed mode.
The problem is that the system preferences do it so nicely:
While a simple code to switch from a mode to the other like this:
Lua Code:
C_CVar.SetCVar("gxMaximize", "1")
RestartGx()
or
Lua Code:
C_CVar.SetCVar("gxMaximize", "0")
C_CVar.SetCVar("gxWindowedResolution", "1790x1007")
RestartGx()
freeze for a little bit the game and is not as perfect as the first.
So the question.
How is, if any, the best way to achieve this ?
Thanks so much.