Disable Shader Scene for LimitedGLSL GPUs
This was causing problems with R300G. The GPU supports only limited GLSL and seems not to be up to rendering the scene appropriate. So let's better disable the OpenGL 2 branch for such GPUs. If the user really wants to use it, there is the GLES backend which does not check for limited GLSL. BUG: 274457 CCBUG: 274607 FIXED-IN: 4.7.0
This commit is contained in:
parent
c7f87d49d7
commit
ae40bce25d
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ bool GLShader::compile(GLuint program, GLenum shaderType, const QByteArray &sour
|
|||
bool GLShader::load(const QByteArray &vertexSource, const QByteArray &fragmentSource)
|
||||
{
|
||||
// Make sure shaders are actually supported
|
||||
if (!GLPlatform::instance()->supports(GLSL)) {
|
||||
if (!GLPlatform::instance()->supports(GLSL) || GLPlatform::instance()->supports(LimitedGLSL)) {
|
||||
kError(1212) << "Shaders are not supported";
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue