It looks like you're new here. If you want to get involved, click one of these buttons!
Ok. So, I need to adjust windowed display size based on user screen res.
I can easily pull user desktop res with the windows API, but I have tried multiple ways to change Orx display size to no avail.
I was able to change display size by modifying a display_video_mode object manually, but this lead to all manner of problems with the viewport and frustum either distorting or just leaving a huge amount of black space with a tiny viewport.
The problem with using the push/pop method seems to be that the display section of the config is processed before any code can be called. Or, at least before code can be called by Orx to modify its config keys.
My question is quite simple: Can code be called IN the config file to act on a key, or can code modify the display size keys BEFORE the display is created?
Thanks in advance,