summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2004-11-19 20:51:02 +0000
committerKenneth Russel <[email protected]>2004-11-19 20:51:02 +0000
commitb3d862d6af331c198d3b4097f2db4554838d77ca (patch)
treea01d32e0f7a9e8bb24dc3ab8cb8f65039ab03fcb /src
parent0cf4c93425f0fca174220b524b84355771768a48 (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')
-rwxr-xr-xsrc/net/java/games/jogl/impl/GLUquadricImpl.java2
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);