radeon: Fix printf formatings to match te values.
authorPauli Nieminen <suokkos@gmail.com>
Wed, 10 Feb 2010 01:20:02 +0000 (03:20 +0200)
committerPauli Nieminen <suokkos@gmail.com>
Wed, 10 Feb 2010 01:20:11 +0000 (03:20 +0200)
src/mesa/drivers/dri/radeon/radeon_fbo.c
src/mesa/drivers/dri/radeon/radeon_texture.c

index 01fe933..56dcc50 100644 (file)
@@ -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;
index 9179a3f..9b9d90b 100644 (file)
@@ -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)) {