diff options
author | Kenneth Russel <kbrussel@alum.mit.edu> | 2004-11-19 20:51:02 +0000 |
---|---|---|
committer | Kenneth Russel <kbrussel@alum.mit.edu> | 2004-11-19 20:51:02 +0000 |
commit | b3d862d6af331c198d3b4097f2db4554838d77ca (patch) | |
tree | a01d32e0f7a9e8bb24dc3ab8cb8f65039ab03fcb /src/net/java/games/jogl | |
parent | 0cf4c93425f0fca174220b524b84355771768a48 (diff) |
Fixed bug pointed out by art in the JOGL forums where cap of sphere
was not being drawn if filled and untextured.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@175 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl')
-rwxr-xr-x | src/net/java/games/jogl/impl/GLUquadricImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/java/games/jogl/impl/GLUquadricImpl.java b/src/net/java/games/jogl/impl/GLUquadricImpl.java index cca415cc4..cd5f3df36 100755 --- a/src/net/java/games/jogl/impl/GLUquadricImpl.java +++ b/src/net/java/games/jogl/impl/GLUquadricImpl.java @@ -869,7 +869,7 @@ class GLUquadricImpl implements GLUquadric { dtheta = 2.0f * PI / slices; if (drawStyle == GLU.GLU_FILL) { - if (textureFlag) { + if (!textureFlag) { // draw +Z end as a triangle fan gl.glBegin(GL.GL_TRIANGLE_FAN); gl.glNormal3f(0.0f, 0.0f, 1.0f); |