From: Alex Deucher Date: Wed, 27 Jan 2010 17:18:02 +0000 (-0500) Subject: r600: fix warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ccb4ba3e3b147426a0534763ffe20571336c3cf1;p=mesa.git r600: fix warning --- diff --git a/src/mesa/drivers/dri/r600/r600_context.c b/src/mesa/drivers/dri/r600/r600_context.c index 922291ae69e..ab3c7723c9d 100644 --- a/src/mesa/drivers/dri/r600/r600_context.c +++ b/src/mesa/drivers/dri/r600/r600_context.c @@ -246,8 +246,6 @@ static void r600_init_vtbl(radeonContextPtr radeon) static void r600InitConstValues(GLcontext *ctx, radeonScreenPtr screen) { - context_t *r600 = R700_CONTEXT(ctx); - ctx->Const.MaxTextureImageUnits = 16; /* 8 per clause on r6xx, 16 on r7xx * but I think mesa only supports 8 at the moment