NanoVG dies if drawn on any frame buffer without a stencil buffer
Wyvest opened this issue · comments
Bug description
As NanoVG uses the stencil buffer extensively, if NanoVG is used in a framebuffer without a stencil buffer, the whole area covering the framebuffer has unexpected glitches.
Steps to reproduce
- Disable Patcher Mixin
- Go ingame
- Turn on HUD Caching
- Go to OneConfig
Why is this an issue?
Currently we just turn on the stencil buffer on any framebuffer that needs it. This however requires us to mixin into every single mod that doesn't use the stencil buffer (including pizza client and stuff)
Expected behavior
Maybe we could force all framebuffers to have stencil buffers?
Anything else?
No response
I think this shouldn't be an issue, closing for now