Viewports: default to first monitor is viewport is outside bounds. (#8393, #8385)

Before the assert was introduced in d66f4e589 the viewport would be eventually clamped with ClampWindowPos using g.FallbackMonitor, but code would run temporarly with DpiScale=0.
This commit is contained in:
Gabriel Rodriguez 2025-02-12 12:39:44 +01:00 • committed by ocornut
commit 95c4111783
2 changed files with 8 additions and 2 deletions