r600g: silence compiler warning
authorJerome Glisse <jglisse@redhat.com>
Wed, 1 Sep 2010 22:09:37 +0000 (18:09 -0400)
committerJerome Glisse <jglisse@redhat.com>
Wed, 1 Sep 2010 22:09:37 +0000 (18:09 -0400)
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_state.c

index bb12b422132a2258b11885d183853c4e60973513..4f00cfb3814fa3a34465efe800f56145726d0e8c 100644 (file)
@@ -718,7 +718,7 @@ static void r600_ucp(struct r600_context *rctx, struct radeon_state *rstate,
 }
 
 static void r600_cb(struct r600_context *rctx, struct radeon_state *rstate,
-                       struct pipe_framebuffer_state *state, int cb)
+                       const struct pipe_framebuffer_state *state, int cb)
 {
        struct r600_screen *rscreen = rctx->screen;
        struct r600_resource_texture *rtex;