From: Adam Jackson Date: Mon, 27 Dec 2004 22:08:34 +0000 (+0000) Subject: Unused variable cleanup. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29c88396db888e117c3b4408ba0c816b8ad4386b;p=mesa.git Unused variable cleanup. --- diff --git a/src/mesa/drivers/dri/tdfx/tdfx_screen.c b/src/mesa/drivers/dri/tdfx/tdfx_screen.c index 9c25d778f5e..7896811d997 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_screen.c +++ b/src/mesa/drivers/dri/tdfx/tdfx_screen.c @@ -334,8 +334,7 @@ static __GLcontextModes *tdfxFillInModes(unsigned pixel_bits, m->depthBits = deep ? (depth ? 24 : 0) : (depth ? 0 : depth_bits); - m->visualType = i ? GLX_TRUE_COLOR - : GLX_DIRECT_COLOR; + m->visualType = vis[i]; m->renderType = GLX_RGBA_BIT; m->drawableType = GLX_WINDOW_BIT; m->rgbMode = GL_TRUE;