diff options
Diffstat (limited to 'src/demos/proceduralTexturePhysics')
-rw-r--r-- | src/demos/proceduralTexturePhysics/Water.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/demos/proceduralTexturePhysics/Water.java b/src/demos/proceduralTexturePhysics/Water.java index 701a10f..4bf8f14 100644 --- a/src/demos/proceduralTexturePhysics/Water.java +++ b/src/demos/proceduralTexturePhysics/Water.java @@ -453,6 +453,9 @@ public class Water { singleStep = false; } + // Force rendering to pbuffer to complete + gl.glFlush(); + if (slow && (slowDelay > 0) ) { try { Thread.sleep(slowDelay); |