diff options
author | Ian Romanick <[email protected]> | 2004-05-07 22:43:52 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2004-05-07 22:43:52 +0000 |
commit | 3d769b81faea6a066c07c4e5ee0df9cf12870b92 (patch) | |
tree | 91f0412eb081df75004e008ea53b8c56bdb5b55c /src/mesa | |
parent | 216d980d53ab2c4237e764c4032a3338193596f1 (diff) |
Warning clean-ups.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i830/i830_debug.c | 6 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i830/i830_state.c | 2 |
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 56940e223cf..84f3216dc04 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 9bd97379cac..8bfe392682b 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; |