Closed senxd closed 2 years ago
The GL_BLEND
is enabled in nanovg_gl.h#L1192, you could turn it off in the source code first, to see if that gives the desired effect. nvgEndFrame
calls glnvg__renderFlush
, via NVGparams. You'd have to hack something to make this configurable.
From what I saw, that is the only way. Thanks.
My answer was just for technically disabling GL_BLEND
, I think you can probably achieve the effect you want with nvgGlobalCompositeOperation
or nvgGlobalCompositeBlendFuncSeparate
.
Is there a way to disable blending (glEnable/glDisable(GL_BLEND) for certain paths? I want to disable this for images