summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_surface.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-10-14 01:58:18 -0700
committerCorbin Simpson <[email protected]>2009-10-14 01:58:18 -0700
commitf13e507798cdbbe2fad5df33dcd581d49d6fa7ab (patch)
treef0a05c968ea373d03ff49fab9f3537d4850f988b /src/gallium/drivers/r300/r300_surface.c
parent88b697fb0aaaab8479716763510f56b1053ddb37 (diff)
r300g: Compiler warning cleanup.
Diffstat (limited to 'src/gallium/drivers/r300/r300_surface.c')
-rw-r--r--src/gallium/drivers/r300/r300_surface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_surface.c b/src/gallium/drivers/r300/r300_surface.c
index d72e734ff0c..5cf49d20aa4 100644
--- a/src/gallium/drivers/r300/r300_surface.c
+++ b/src/gallium/drivers/r300/r300_surface.c
@@ -95,8 +95,7 @@ static void r300_surface_fill(struct pipe_context* pipe,
unsigned w, unsigned h,
unsigned color)
{
- int i;
- float r, g, b, a, depth;
+ float r, g, b, a;
struct r300_context* r300 = r300_context(pipe);
struct r300_capabilities* caps = r300_screen(pipe->screen)->caps;
struct r300_texture* tex = (struct r300_texture*)dest->texture;