summaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/util/j2d
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/opengl/util/j2d')
-rwxr-xr-xsrc/classes/com/sun/opengl/util/j2d/TextRenderer.java6
1 files changed, 0 insertions, 6 deletions
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 {