fix(rendering): survive display topology handoff

Model active-monitor refresh telemetry as optional so GLFW display replacement during console/RDP transitions cannot escape the native move callback and terminate the client. Preserve the existing software pacing fallback until a later monitor event succeeds.

Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
Erik 2026-07-25 13:15:24 +02:00
parent 10ccce3f2d
commit 14fbe92b08
4 changed files with 76 additions and 22 deletions

View file

@ -789,13 +789,11 @@ public sealed class SilkWindowCallbackBindingTests
public bool VSync { get; set; }
public int RefreshReadCount { get; private set; }
public int? ActiveMonitorRefreshHz
public bool TryGetActiveMonitorRefreshHz(out int refreshHz)
{
get
{
RefreshReadCount++;
return 144;
}
RefreshReadCount++;
refreshHz = 144;
return true;
}
}
}