It seems the fallback mode doesn't work with direct rendering.

svn path=/branches/work/kwin_composite/; revision=607241
This commit is contained in:
Luboš Luňák 2006-11-23 20:21:27 +00:00
parent 2c9dd370d9
commit 8bbf28ed9c

View file

@ -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 );