diff options
author | Adam Jackson <ajax@freedesktop.org> | 2004-12-27 22:08:34 +0000 |
---|---|---|
committer | Adam Jackson <ajax@freedesktop.org> | 2004-12-27 22:08:34 +0000 |
commit | 29c88396db888e117c3b4408ba0c816b8ad4386b (patch) | |
tree | b7a068072ec895c480556f5a4233bb22c0d48756 /src/mesa/drivers | |
parent | d9fcfa27976788365c2b7846e13d3081bb3aa9d1 (diff) |
Unused variable cleanup.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/tdfx/tdfx_screen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_screen.c b/src/mesa/drivers/dri/tdfx/tdfx_screen.c index 9c25d778f5..7896811d99 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; |