From f61487947b226369594d308ef4205374406e532e Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Thu, 25 Mar 2004 09:06:12 +0000 Subject: small changes (version string) --- src/mesa/drivers/glide/fxapi.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/mesa/drivers/glide/fxapi.c') diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c index 20cf7240de..0474de9016 100644 --- a/src/mesa/drivers/glide/fxapi.c +++ b/src/mesa/drivers/glide/fxapi.c @@ -395,7 +395,7 @@ fxMesaCreateContext(GLuint win, */ /* number of SLI units and AA Samples per chip */ sliaa = 0; - switch (voodoo->type) { + switch (fxMesa->type) { case GR_SSTTYPE_VOODOO: case GR_SSTTYPE_SST96: case GR_SSTTYPE_Banshee: @@ -648,9 +648,10 @@ fxMesaCreateContext(GLuint win, fxMesa->snapVertices ? "" : "no "); } - sprintf(fxMesa->rendererString, "Mesa %s v0.60 %s", - grGetString(GR_RENDERER), - grGetString(GR_HARDWARE)); + sprintf(fxMesa->rendererString, "Mesa %s v0.61 %s%s", + grGetString(GR_RENDERER), + grGetString(GR_HARDWARE), + ((fxMesa->type < GR_SSTTYPE_Voodoo4) && (voodoo->numChips > 1)) ? " SLI" : ""); fxMesa->glVis = _mesa_create_visual(GL_TRUE, /* RGB mode */ doubleBuffer, -- cgit v1.2.3