Move initial GL state policy into renderer GL

This commit is contained in:
2026-06-03 05:35:39 +02:00
parent 8b12ae35d4
commit 692fe08d9f
7 changed files with 51 additions and 28 deletions

View File

@@ -514,6 +514,10 @@ Windows OpenGL debug callback setup now dispatches through `PlatformServices`,
moving Win32 console coloring, debug-output enablement, and debug-break callback
behavior into `WindowsPlatformServices` while keeping other platform adapters
as no-ops.
Initial PanoPainter OpenGL depth/blend startup state is now represented by a
tested `pp_renderer_gl` `OpenGlInitialState` plan before the app applies it,
so the policy is owned by the renderer backend boundary instead of being
hard-coded inside `App::init`.
Windows RenderDoc frame capture hooks now also dispatch through
`PlatformServices`, keeping capture integration in the platform service while
leaving non-Windows adapters as no-ops.