diff --git a/src/AcDream.App/Rendering/FramebufferResizeController.cs b/src/AcDream.App/Rendering/FramebufferResizeController.cs index 9b962f79..84759f27 100644 --- a/src/AcDream.App/Rendering/FramebufferResizeController.cs +++ b/src/AcDream.App/Rendering/FramebufferResizeController.cs @@ -111,6 +111,13 @@ internal sealed class FramebufferResizeController if (width <= 0 || height <= 0) return; + // #387 evidence line (permanent — resize events are rare and this is + // the only trace of whether the native event fired at all). Lives here + // rather than in GameWindow.OnFramebufferResize because the window + // callback is contractually a one-line typed-owner handoff + // (GameWindowSlice8BoundaryTests.FramebufferResize_IsOneTypedOwnerHandoff). + Console.WriteLine($"window: framebuffer resize event {width}x{height}"); + // Frozen order: GL viewport, shared aspect publication, camera, then // the optional developer-tools layout reset (unbound since Campaign V // slice V11 removed the ImGui frontend). Late binding never replays an diff --git a/src/AcDream.App/Rendering/GameWindow.cs b/src/AcDream.App/Rendering/GameWindow.cs index d55788e3..5baab269 100644 --- a/src/AcDream.App/Rendering/GameWindow.cs +++ b/src/AcDream.App/Rendering/GameWindow.cs @@ -1625,12 +1625,7 @@ public sealed class GameWindow : /// previously off the new viewport snap back to default positions. /// private void OnFramebufferResize(Silk.NET.Maths.Vector2D newSize) - { - // #387 evidence line (permanent — resize events are rare and this is - // the only trace of whether the native event fired at all). - Console.WriteLine($"window: framebuffer resize event {newSize.X}x{newSize.Y}"); - _framebufferResize.Resize(newSize); - } + => _framebufferResize.Resize(newSize); private void OnClosing() => CompleteShutdown(releaseNativeWindow: false);