From: Pauli Nieminen Date: Wed, 10 Feb 2010 01:20:02 +0000 (+0200) Subject: radeon: Fix printf formatings to match te values. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77e6fb17d96ed9d9b3c2f52999e93da12a466405;p=mesa.git radeon: Fix printf formatings to match te values. --- 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)) {