From 6a7b4690e32daac59bb66af3eba7de8585ee598f Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Mon, 20 Dec 2004 08:12:09 +0000 Subject: [PATCH] allow greater swappendingcount for older hw (v1/v2) --- src/mesa/drivers/glide/fxapi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c index a96709c4fa2..e85a0f87300 100644 --- a/src/mesa/drivers/glide/fxapi.c +++ b/src/mesa/drivers/glide/fxapi.c @@ -561,8 +561,8 @@ fxMesaCreateContext(GLuint win, if ((str = Glide->grGetRegistryOrEnvironmentStringExt("FX_GLIDE_SWAPPENDINGCOUNT"))) { fxMesa->maxPendingSwapBuffers = atoi(str); - if (fxMesa->maxPendingSwapBuffers > 3) { - fxMesa->maxPendingSwapBuffers = 3; + if (fxMesa->maxPendingSwapBuffers > 6) { + fxMesa->maxPendingSwapBuffers = 6; } else if (fxMesa->maxPendingSwapBuffers < 0) { fxMesa->maxPendingSwapBuffers = 0; } @@ -638,7 +638,7 @@ fxMesaCreateContext(GLuint win, fxMesa->snapVertices ? "" : "no "); } - sprintf(fxMesa->rendererString, "Mesa %s v0.62 %s%s", + sprintf(fxMesa->rendererString, "Mesa %s v0.63 %s%s", grGetString(GR_RENDERER), grGetString(GR_HARDWARE), ((fxMesa->type < GR_SSTTYPE_Voodoo4) && (voodoo->numChips > 1)) ? " SLI" : ""); -- 2.30.2