mirror of
https://github.com/ApfelTeeSaft/azahar.git
synced 2026-08-26 19:23:31 +00:00
* renderer_gl: Add `DebugScopes` to rasterizer and texture-runtime Some debug scopes I added while working on https://github.com/azahar-emu/azahar/pull/2053 to help better attribute OpenGL API calls to the particular C++ callstack that called it. Helps greatly for diagnosing rendering issues. * renderer_gl: Fix DebugScope unconditional incrementing of `global_scope_depth` `global_scope_depth` was being incremented unconditionally in the ctor, but the dtor was decrementing it conditionally based on `Settings::values.renderer_debug`, allowing an imbalanced scope-depth hazard in the case that `Settings::values.renderer_debug` is operated at runtime during a debug-scope.