don't set optimal settings on the cg profile (resolves issues with buggy new ati drivers)

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1335 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2010-07-26 23:46:19 +00:00
parent 0d453ce9db
commit d35e6d33c4

View File

@ -376,7 +376,10 @@ void ShaderEngine::SetupCg()
cgSetParameterSettingMode(myCgContext, CG_DEFERRED_PARAMETER_SETTING);
myCgProfile = cgGLGetLatestProfile(CG_GL_FRAGMENT);
cgGLSetOptimalOptions(myCgProfile);
// HACK breaks with buggy ati video drivers such as my own
// -carmelo.piccione@gmail.com 7/26/2010
//cgGLSetOptimalOptions(myCgProfile);
checkForCgError("selecting fragment profile");
profileName = cgGetProfileString(myCgProfile);