Fix another layered circle rendering bug

This commit is contained in:
2025-11-20 21:58:41 +00:00
parent 8f65a652ce
commit 80957d5470
2 changed files with 21 additions and 17 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ void main()
int i0 = n + (3 * ((gl_VertexID-n)/6) );
gColC = data[i0].colx;
gColE = data[i0+1].colx;
int k = ks[gl_VertexID % 6];
int k = ks[(gl_VertexID - n) % 6];
gBoundingBox = bs[k];
gPos = (k > 2.5
? data[i0].posx + data[i0+2].posx - data[i0+1].posx