Sometimes (usually the first time the game is loaded (using the exe) toggling windowed mode will disable hardware rendering.
Numbered Steps to Reproduce Problem:
Join Hazordhu, press alt+enter to toggle windowed mode
Code Snippet (if applicable) to Reproduce Problem:
// DMF_WINDOW is just the id for the window itself
client
var/tmp/is_windowed = FALSE
proc/toggle_windowed()
is_windowed = !is_windowed
var/params[0]
params["[DMF_WINDOW].titlebar"] = "[is_windowed?"true":"false"]"
winset(src, null, list2params(params))
Expected Results:
Hardware Rendering to not change
Actual Results:
Hardware Rendering sometimes changes (exact cause unknown)
Does the problem occur:
Every time? Or how often?
Only if the player toggles windowed mode, and even then, can't isolate an exact trigger.
In other games?
Unknown
In other user accounts?
Yes
On other computers?
Yes
When does the problem NOT occur?
If windowed mode is not toggled. Sometimes when toggled it occurs as well. This does not happen if the user relogs and tries again.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Untested
Workarounds:
Remain in fullscreen mode, or relog to fix and prevent happening again.