From 77e6fb17d96ed9d9b3c2f52999e93da12a466405 Mon Sep 17 00:00:00 2001 From: Pauli Nieminen Date: Wed, 10 Feb 2010 03:20:02 +0200 Subject: [PATCH] radeon: Fix printf formatings to match te values. --- src/mesa/drivers/dri/radeon/radeon_fbo.c | 2 +- src/mesa/drivers/dri/radeon/radeon_texture.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/radeon/radeon_fbo.c b/src/mesa/drivers/dri/radeon/radeon_fbo.c index 01fe933a670..56dcc50785c 100644 --- a/src/mesa/drivers/dri/radeon/radeon_fbo.c +++ b/src/mesa/drivers/dri/radeon/radeon_fbo.c @@ -530,7 +530,7 @@ radeon_render_texture(GLcontext * ctx, GLuint imageOffset; radeon_print(RADEON_TEXTURE, RADEON_TRACE, - "%s(%p, fb %p, rrb %p, att att)\n", + "%s(%p, fb %p, rrb %p, att %p)\n", __func__, ctx, fb, rrb, att); (void) fb; diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c b/src/mesa/drivers/dri/radeon/radeon_texture.c index 9179a3f5c8a..9b9d90bdd02 100644 --- a/src/mesa/drivers/dri/radeon/radeon_texture.c +++ b/src/mesa/drivers/dri/radeon/radeon_texture.c @@ -284,7 +284,7 @@ void radeonGenerateMipmap(GLcontext* ctx, GLenum target, struct gl_texture_objec radeon_print(RADEON_TEXTURE, RADEON_TRACE, "%s(%p, target %s, tex %p)\n", - __func__, _mesa_lookup_enum_by_nr(target), + __func__, ctx, _mesa_lookup_enum_by_nr(target), texObj); if (bo && radeon_bo_is_referenced_by_cs(bo, rmesa->cmdbuf.cs)) { -- 2.30.2