mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
Avoid shaders on GeForce FX, for performance.
Update list of Intel device names. This was SVN commit r10027.
This commit is contained in:
parent
8872bad668
commit
b12845e6b4
1 changed files with 11 additions and 0 deletions
|
|
@ -66,6 +66,9 @@ var g_IntelMesaChipsets = [
|
|||
"Intel(R) Sandybridge Desktop",
|
||||
"Intel(R) Sandybridge Mobile",
|
||||
"Intel(R) Sandybridge Server",
|
||||
"Intel(R) Ivybridge Desktop",
|
||||
"Intel(R) Ivybridge Mobile",
|
||||
"Intel(R) Ivybridge Server",
|
||||
"Unknown Intel Chipset",
|
||||
];
|
||||
// Originally generated from Mesa with
|
||||
|
|
@ -235,6 +238,14 @@ function RunDetection(settings)
|
|||
warnings.push("Some graphics features are disabled, due to bugs in old graphics drivers. Upgrading to a Gallium-based driver might help.");
|
||||
}
|
||||
|
||||
// http://www.wildfiregames.com/forum/index.php?showtopic=15058
|
||||
// GF FX has poor shader performance, so fall back to non-shader
|
||||
if (GL_RENDERER.match(/^GeForce FX /))
|
||||
{
|
||||
override_renderpath = "fixed";
|
||||
disable_fancywater = true;
|
||||
}
|
||||
|
||||
return {
|
||||
"dialog_warnings": dialog_warnings,
|
||||
"warnings": warnings,
|
||||
|
|
|
|||
Loading…
Reference in a new issue