mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
allow greater swappendingcount for older hw (v1/v2)
This commit is contained in:
parent
00b7aba567
commit
6a7b4690e3
1 changed files with 3 additions and 3 deletions
|
|
@ -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" : "");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue