KWin requires Mesa 7.10 for OpenGL/GLX
If OpenGL compositing is tried in GLX with a Mesa driver not at least 7.10 we stop OpenGL compositing. For OpenGL ES we just assume that all Mesa drivers are fine, so no requirement.
This commit is contained in:
parent
676d180e4f
commit
982f041204
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ SceneOpenGL::SceneOpenGL(Workspace* ws)
|
|||
kError(1212) << "GL_ARB_texture_non_power_of_two and GL_ARB_texture_rectangle missing";
|
||||
return; // error
|
||||
}
|
||||
if (GLPlatform::instance()->isMesaDriver() && GLPlatform::instance()->mesaVersion() < kVersionNumber(7, 10)) {
|
||||
kError(1212) << "KWin requires at least Mesa 7.10 for OpenGL compositing.";
|
||||
return;
|
||||
}
|
||||
if (db)
|
||||
glDrawBuffer(GL_BACK);
|
||||
// Check whether certain features are supported
|
||||
|
|
Loading…
Reference in a new issue