Disable shaders on SiS Mirage 3 for compatibility. Fixes #964.

This was SVN commit r10507.
This commit is contained in:
Ykkrosh 2011-11-11 01:03:32 +00:00
parent 0cb7f6ce02
commit 6be23a5894

View File

@ -246,6 +246,15 @@ function RunDetection(settings)
disable_fancywater = true;
}
// http://trac.wildfiregames.com/ticket/964
// SiS Mirage 3 drivers apparently crash with shaders, so fall back to non-shader
// (The other known SiS cards don't advertise GL_ARB_fragment_program so we
// don't need to do anything special for them)
if (os_win && GL_RENDERER.match(/^Mirage Graphics3$/))
{
override_renderpath = "fixed";
}
return {
"dialog_warnings": dialog_warnings,
"warnings": warnings,