r300g: Silence unused variable warnings.
authorVinson Lee <vlee@vmware.com>
Sat, 9 Jan 2010 05:43:54 +0000 (21:43 -0800)
committerVinson Lee <vlee@vmware.com>
Sat, 9 Jan 2010 05:43:54 +0000 (21:43 -0800)
src/gallium/drivers/r300/r300_flush.c
src/gallium/drivers/r300/r300_state_derived.c

index 14a08241fc460bb68416aa322c09d2ce1cec8fcc..4282357521b3fb06b7262d1b8916e2a3872698cb 100644 (file)
@@ -39,6 +39,7 @@ static void r300_flush(struct pipe_context* pipe,
     struct r300_query *query;
 
     CS_LOCALS(r300);
+    (void) cs_count;
     /* We probably need to flush Draw, but we may have been called from
      * within Draw. This feels kludgy, but it might be the best thing.
      *
index 7166694edf46646662f9568c5cd9195c546ef89b..55430a9ad67e1d205c69a3052b507f5d68c3d77b 100644 (file)
@@ -464,7 +464,7 @@ static void r300_update_rs_block(struct r300_context* r300,
 /* Update the vertex format. */
 static void r300_update_derived_shader_state(struct r300_context* r300)
 {
-    struct r300_screen* r300screen = r300_screen(r300->context.screen);
+    /* struct r300_screen* r300screen = r300_screen(r300->context.screen); */
     struct r300_vertex_info* vformat;
     struct r300_rs_block* rs_block;
     int i;