mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
always set setgetPixels to false at the end of flush()
This commit is contained in:
@@ -2247,7 +2247,6 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
// the changes need to be copied to the screen before
|
||||
// drawing any new geometry.
|
||||
flushPixels();
|
||||
setgetPixels = false;
|
||||
}
|
||||
|
||||
if (hasPoints || hasLines || hasPolys) {
|
||||
@@ -2298,6 +2297,7 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
|
||||
tessGeo.clear();
|
||||
texCache.clear();
|
||||
setgetPixels = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user