From 9589f5dbd2576efbe8f027274519d27564561686 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 15 Nov 2007 02:04:36 +0000 Subject: Fixed Issue 332: TextRenderer depends on OpenGL 1.3 glClientActiveTexture Removed call to glClientActiveTexture, which was incorrect as written since the texture object was being bound to the current texture unit and then the active texture unit forced to GL_TEXTURE0 just before setting up the texture coordinate pointer. Tested with text demos in jogl-demos workspace. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1440 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/opengl/util/j2d/TextRenderer.java | 1 - 1 file changed, 1 deletion(-) (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 dad518ea0..12263806e 100755 --- a/src/classes/com/sun/opengl/util/j2d/TextRenderer.java +++ b/src/classes/com/sun/opengl/util/j2d/TextRenderer.java @@ -1746,7 +1746,6 @@ public class TextRenderer { gl.glVertexPointer(3, GL.GL_FLOAT, 0, mVertCoords); } - gl.glClientActiveTexture(GL.GL_TEXTURE0); gl.glEnableClientState(GL.GL_TEXTURE_COORD_ARRAY); if (usingVBOs) { -- cgit v1.2.3