From 78c8f6dad2e35d79594be3eae6b3bab187f0b4ec Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sat, 13 Oct 2007 01:49:11 +0000 Subject: Undid last checkin as it appears the current glPushClientAttrib / glPopClientAttrib in the TextRenderer are sufficient. Reverted back to nightly build numbering scheme; 1.1.1-rc6 version number not yet used. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1398 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/opengl/util/j2d/TextRenderer.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/classes/com/sun/opengl/util/j2d/TextRenderer.java b/src/classes/com/sun/opengl/util/j2d/TextRenderer.java index bb497a4dd..b20a6c2b1 100755 --- a/src/classes/com/sun/opengl/util/j2d/TextRenderer.java +++ b/src/classes/com/sun/opengl/util/j2d/TextRenderer.java @@ -854,9 +854,6 @@ public class TextRenderer GL gl = GLU.getCurrentGL(); // Pop client attrib bits used by the pipelined quad renderer gl.glPopClientAttrib(); - // It's unclear whether this changes the buffer bindings, so - // preemptively zero out the GL_ARRAY_BUFFER binding - gl.glBindBuffer(GL.GL_ARRAY_BUFFER, 0); if (ortho) { getBackingStore().endOrthoRendering(); } else { @@ -1017,9 +1014,6 @@ public class TextRenderer GL gl = GLU.getCurrentGL(); // Pop client attrib bits used by the pipelined quad renderer gl.glPopClientAttrib(); - // It's unclear whether this changes the buffer bindings, so - // preemptively zero out the GL_ARRAY_BUFFER binding - gl.glBindBuffer(GL.GL_ARRAY_BUFFER, 0); if (isOrthoMode) { ((TextureRenderer) oldBackingStore).endOrthoRendering(); } else { -- cgit v1.2.3