Explain the reason for TCL fallback when GL_SPHERE_MAP happens with
authorEric Anholt <anholt@FreeBSD.org>
Sun, 26 Jun 2005 21:53:11 +0000 (21:53 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Sun, 26 Jun 2005 21:53:11 +0000 (21:53 +0000)
RADEON_DEBUG=fall.

src/mesa/drivers/dri/radeon/radeon_texstate.c

index 60877e8..43fe509 100644 (file)
@@ -925,7 +925,8 @@ static GLboolean radeon_validate_texgen( GLcontext *ctx, GLuint unit )
    default:
       /* Unsupported mode, fallback:
        */
-      /*  fprintf(stderr, "fallback unsupported texgen\n"); */
+      if (RADEON_DEBUG & DEBUG_FALLBACKS) 
+        fprintf(stderr, "fallback GL_SPHERE_MAP\n");
       return GL_FALSE;
    }