summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-09-09 11:21:57 +0200
committerMichal Krol <[email protected]>2008-09-09 11:21:57 +0200
commit05ecd6d4020244b1bb6eb4f06f2333006b1bbfbd (patch)
tree7ebf4323402a2f616875f0d9c82681a6fc541a1a /src
parent56e7c5522e37508d8ca83410479d09f1eddfac15 (diff)
softpipe: Silence compiler warning on Windows.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/softpipe/sp_setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_setup.c b/src/gallium/drivers/softpipe/sp_setup.c
index fe88d8f1408..bc8263c33e3 100644
--- a/src/gallium/drivers/softpipe/sp_setup.c
+++ b/src/gallium/drivers/softpipe/sp_setup.c
@@ -1539,7 +1539,9 @@ void setup_destroy_context( struct setup_context *setup )
struct setup_context *setup_create_context( struct softpipe_context *softpipe )
{
struct setup_context *setup = CALLOC_STRUCT(setup_context);
+#if SP_NUM_QUAD_THREADS > 1
uint i;
+#endif
setup->softpipe = softpipe;