mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-04 06:25:08 +00:00
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:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user