ID:2670184
 
BYOND Version:514.1552
Operating System:Windows 7 Home Premium 64-bit
Web Browser:Chrome 89.0.4389.114
Applies to:Dream Seeker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
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.
Can you send me the current source so I can test this? Or, just a test case that does the same thing with Alt+Enter would be fine.