summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i830
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-05-07 22:43:52 +0000
committerIan Romanick <idr@us.ibm.com>2004-05-07 22:43:52 +0000
commit3d769b81faea6a066c07c4e5ee0df9cf12870b92 (patch)
tree91f0412eb081df75004e008ea53b8c56bdb5b55c /src/mesa/drivers/dri/i830
parent216d980d53ab2c4237e764c4032a3338193596f1 (diff)
Warning clean-ups.
Diffstat (limited to 'src/mesa/drivers/dri/i830')
-rw-r--r--src/mesa/drivers/dri/i830/i830_debug.c6
-rw-r--r--src/mesa/drivers/dri/i830/i830_state.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i830/i830_debug.c b/src/mesa/drivers/dri/i830/i830_debug.c
index 56940e223c..84f3216dc0 100644
--- a/src/mesa/drivers/dri/i830/i830_debug.c
+++ b/src/mesa/drivers/dri/i830/i830_debug.c
@@ -325,15 +325,15 @@ void i830EmitHwStateLockedDebug( i830ContextPtr imesa )
switch( i ) {
case 0:
case 1:
- TexState = & imesa->sarea->TexState[i];
+ TexState = imesa->sarea->TexState[i];
break;
case 2:
- TexState = & imesa->sarea->TexState2;
+ TexState = imesa->sarea->TexState2;
break;
case 3:
- TexState = & imesa->sarea->TexState3;
+ TexState = imesa->sarea->TexState3;
break;
}
diff --git a/src/mesa/drivers/dri/i830/i830_state.c b/src/mesa/drivers/dri/i830/i830_state.c
index 9bd97379ca..8bfe392682 100644
--- a/src/mesa/drivers/dri/i830/i830_state.c
+++ b/src/mesa/drivers/dri/i830/i830_state.c
@@ -1410,7 +1410,7 @@ void i830DDInitState( GLcontext *ctx )
{
i830ContextPtr imesa = I830_CONTEXT(ctx);
i830ScreenPrivate *i830Screen = imesa->i830Screen;
- int i, j;
+ int i;
imesa->clear_red = 0;
imesa->clear_green = 0;