You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When drawing large amounts of text, flickering is encountered if I attempt to draw a shape with a blend mode, specifically subtraction. This doesn't happen when there is no blend mode applied. It also seems variable based on the amount of text present.
@parzivail I'm afraid this is out of the realm of raylib and probably related to GPU drivers. I reviewed the rlSetBlendMode() call, where blending is set and it only flushes the current batch to start a new one, I can't see anything that can potentially casue those glitches on raylib code.
Could you try this example on another OS or another GPU to verify the assumption?
EDIT: Re-read the issue more carefully:
I was unable to reproduce this on an Intel iGPU
Yeap, that verifies that this issue is GPU-drivers dependant.
Yes, unfortunately I spent some more time testing this and found that it works fine on Iris Xe, and also on an RTX 2080 Super, with driver versions 566.03 and 576.52. However, it's broken on a different RTX 3000 Ada Generation laptop GPU, so it's definitely configuration-dependent. I'll have to wait for a driver patch then.
Interestingly, some of those drivers also leak memory.
Issue description
When drawing large amounts of text, flickering is encountered if I attempt to draw a shape with a blend mode, specifically subtraction. This doesn't happen when there is no blend mode applied. It also seems variable based on the amount of text present.
Environment
mingw32-make
provided byw64devkit
Issue Screenshot
See attached video.
video.mp4
Code Example
Source used in video:
The text was updated successfully, but these errors were encountered: