mirror of
https://github.com/processing/processing4.git
synced 2026-02-21 14:25:38 +01:00
added buffer swap in Display() to solve the garbage problem
This commit is contained in:
@@ -2640,6 +2640,7 @@ public class PGL {
|
||||
gl.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT |
|
||||
GL.GL_STENCIL_BUFFER_BIT);
|
||||
firstFrame = false;
|
||||
drawable.swapBuffers();
|
||||
}
|
||||
|
||||
if (capabilities.isFBO()) {
|
||||
|
||||
Reference in New Issue
Block a user