Polyfrost / OneConfig

Next generation configuration library for Minecraft

Home Page:https://polyfrost.org/projects/oneconfig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Disable Patcher Mixin
  2. Go ingame
  3. Turn on HUD Caching
  4. 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