Disable ARB Lanczos Shader for Intel GPUs

For Sandybridge Lanczos Shader is enabled, but only GLSL is working
so the ARB variant has to be disabled for Intel GPUs.

BUG: 301729
FIXED-IN: 4.9.0
REVIEW: 105233
This commit is contained in:
Martin Gräßlin 2012-06-12 22:34:29 +02:00
parent 953d088b6a
commit 1f52366fc1

View file

@ -642,6 +642,10 @@ bool LanczosShader::init()
if (!hasGLExtension("GL_ARB_fragment_program"))
return false;
// We allow Lanczos for SandyBridge or later, but only GLSL shaders are supported, see BUG 301729
if (gl->isIntel())
return false;
QByteArray text;
QTextStream stream(&text);