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 01fe933a67062c06a9e93f7bfcffe13c6c9df3fd..56dcc50785c94e74c21c171cd0cea2f4935206a4 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 9179a3f5c8a2827b392ffd5c56bc8f4c664edb88..9b9d90bdd0238d38b5d4ecbd5b38e939063707b5 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)) {