diff options
author | Kenneth Russel <[email protected]> | 2007-11-15 02:04:36 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2007-11-15 02:04:36 +0000 |
commit | 9589f5dbd2576efbe8f027274519d27564561686 (patch) | |
tree | f9295f6f8e4c03216ee138481ac08f6186390eb9 /src | |
parent | fdfed4d46da1f975cc8439a1d1ee25d21005055c (diff) |
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
Diffstat (limited to 'src')
-rwxr-xr-x | src/classes/com/sun/opengl/util/j2d/TextRenderer.java | 1 |
1 files changed, 0 insertions, 1 deletions
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) { |