Current nvidia driver no longer has buggy vsync.

svn path=/trunk/KDE/kdebase/workspace/; revision=728472
This commit is contained in:
Luboš Luňák 2007-10-23 12:07:39 +00:00
parent c0632944a9
commit d51fb87c10

View file

@ -214,14 +214,18 @@ void CompositingPrefs::applyDriverSpecificOptions()
}
else if( mDriver == "nvidia" )
{
kDebug() << "nvidia driver, disabling vsync";
mEnableVSync = false;
mStrictBinding = false;
if( mVersion >= Version( "96.39" ))
if( mVersion >= Version( "100.14.23" ))
{
kDebug() << "nvidia >= 96.39, enabling compositing";
kDebug() << "nvidia >= 100.14.23, enabling compositing";
mEnableCompositing = true;
}
else if( mVersion >= Version( "96.39" ))
{
kDebug() << "nvidia >= 96.39, enabling compositing, disabling vsync";
mEnableCompositing = true;
mEnableVSync = false;
}
}
}