Ticket #4670: hwdetect.patch

File hwdetect.patch, 917 bytes (added by elexis, 7 years ago)
  • binaries/data/mods/mod/hwdetect/hwdetect.js

    function RunDetection(settings)  
    228228        // enable all water effects
    229229        disable_allwater = false;
    230230    }
    231231
    232232    // Disable most graphics features on software renderers
    233     if (GL_RENDERER.match(/^(Software Rasterizer|Gallium \S* on (llvm|soft)pipe.*|Mesa X11|Apple Software Renderer|GDI Generic)$/))
     233    if (GL_RENDERER.match(/^(Software Rasterizer|.*(llvm|soft)pipe.*|Mesa X11|Apple Software Renderer|GDI Generic)$/))
    234234    {
    235235        warnings.push("You are using '" + GL_RENDERER + "' graphics driver, expect very poor performance!");
    236236        warnings.push("If possible install a proper graphics driver for your hardware.");
    237237        enable_glsl = false;
    238238        enable_postproc = false;