diff options
author | Ben Skeggs <[email protected]> | 2006-12-24 00:50:13 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2006-12-24 00:50:13 +1100 |
commit | d79323bd42864fc4768874f56734bad9dc6d8a9c (patch) | |
tree | 31b2adafef5082f137df54c9ac2442136cce9d83 /src/mesa/drivers/dri/nouveau/nouveau_state.c | |
parent | f54c725497cac19294e1465413d21a9416d4245f (diff) |
nouveau: Kill some compile warnings.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_state.c')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_state.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_state.c b/src/mesa/drivers/dri/nouveau/nouveau_state.c index 8df334d7006..1ff881f0542 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_state.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_state.c @@ -59,11 +59,9 @@ static void nouveauCalcViewport(GLcontext *ctx) /* Calculate the Viewport Matrix */ nouveauContextPtr nmesa = NOUVEAU_CONTEXT(ctx); - nouveau_renderbuffer *nrb; const GLfloat *v = ctx->Viewport._WindowMap.m; GLfloat *m = nmesa->viewport.m; GLfloat xoffset = nmesa->drawX, yoffset = nmesa->drawY; - GLint h = 0; nmesa->depth_scale = 1.0 / ctx->DrawBuffer->_DepthMaxF; |