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 60877e87da5e9592bfd6c472ac59e1bff9f51412..43fe509fb4e90d568c1d32d38a85c768950fdca3 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;
    }