mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
More debugging, fixed count update in polygon tessellator
This commit is contained in:
@@ -9485,10 +9485,10 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
// be safely assumed here to be less or equal than
|
||||
// MAX_VERTEX_INDEX1 because the condition was checked
|
||||
// every time a new vertex was emitted (see vertex() below).
|
||||
tessBlock = tess.addFillIndexBlock(tessBlock);
|
||||
tessBlock.vertexCount = tessCount;
|
||||
tessBlock = tess.addFillIndexBlock(tessBlock);
|
||||
tessFirst = 0;
|
||||
}
|
||||
tessBlock.vertexCount += tessCount;
|
||||
|
||||
switch (tessType) {
|
||||
case TRIANGLE_FAN:
|
||||
|
||||
Reference in New Issue
Block a user