It seems the fallback mode doesn't work with direct rendering.
svn path=/branches/work/kwin_composite/; revision=607241
This commit is contained in:
parent
2c9dd370d9
commit
8bbf28ed9c
1 changed files with 2 additions and 0 deletions
|
@ -309,6 +309,8 @@ void SceneOpenGL::cleanupShm()
|
|||
void SceneOpenGL::initRenderingContext()
|
||||
{
|
||||
bool direct_rendering = options->glDirect;
|
||||
if( !tfp_mode && !shm_mode )
|
||||
direct_rendering = false; // fallback doesn't seem to work with direct rendering
|
||||
KXErrorHandler errs;
|
||||
ctxbuffer = glXCreateNewContext( display(), fbcbuffer, GLX_RGBA_TYPE, NULL,
|
||||
direct_rendering ? GL_TRUE : GL_FALSE );
|
||||
|
|
Loading…
Reference in a new issue