From 6e2c5551d6dc19fa5975e095b5205d07c8c607e8 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Fri, 8 Aug 2003 19:22:12 +0000 Subject: Fixed bug in toggling of VBO git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@21 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- src/demos/vertexBufferObject/VertexBufferObject.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/demos/vertexBufferObject/VertexBufferObject.java b/src/demos/vertexBufferObject/VertexBufferObject.java index ce30b88..9a56c4a 100644 --- a/src/demos/vertexBufferObject/VertexBufferObject.java +++ b/src/demos/vertexBufferObject/VertexBufferObject.java @@ -543,6 +543,8 @@ public class VertexBufferObject { if (tmp != bigArrayVBOBytes) { bigArrayVBOBytes = tmp; bigArrayVBO = setupBuffer(tmp); + } + if (bigArray != bigArrayVBO) { bigArray = bigArrayVBO; setupBuffers(); } -- cgit v1.2.3