Mesa (master): st/mesa: more helpful debug message in destroy_program_variants_cb()

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 8 21:21:11 UTC 2011


Module: Mesa
Branch: master
Commit: e37e196151bd8c10a8475680ed91a82de8f7aad3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e37e196151bd8c10a8475680ed91a82de8f7aad3

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun  8 15:15:07 2011 -0600

st/mesa: more helpful debug message in destroy_program_variants_cb()

---

 src/mesa/state_tracker/st_program.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index 0b1ad63..7a6d33d 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -1087,8 +1087,8 @@ destroy_program_variants(struct st_context *st, struct gl_program *program)
       }
       break;
    default:
-      _mesa_problem(NULL, "Unexpected program target in "
-                    "destroy_program_variants_cb()");
+      _mesa_problem(NULL, "Unexpected program target 0x%x in "
+                    "destroy_program_variants_cb()", program->Target);
    }
 }
 




More information about the mesa-commit mailing list