diff options
author | Daniel Borca <dborca@users.sourceforge.net> | 2004-12-20 08:12:09 +0000 |
---|---|---|
committer | Daniel Borca <dborca@users.sourceforge.net> | 2004-12-20 08:12:09 +0000 |
commit | 6a7b4690e32daac59bb66af3eba7de8585ee598f (patch) | |
tree | 29e775ebc2b24918151589e54270c0b5e2ae1ff1 /src/mesa/drivers/glide | |
parent | 00b7aba5678c4aefadbefba679f97ebc854a858c (diff) |
allow greater swappendingcount for older hw (v1/v2)
Diffstat (limited to 'src/mesa/drivers/glide')
-rw-r--r-- | src/mesa/drivers/glide/fxapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c index a96709c4fa..e85a0f8730 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" : ""); |