aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);