From Luc Frauciel, "Ati FirePro is as much crippled as other Ati drivers.
This patch add "FirePro" to the black list of renderers in State.cpp / initializeExtensionProcs It allows to avoid an OpenGL error on Viewer initialization. Tested on FirePro M7740 / Windows7 x64 Driver 8.85.7.2"
This commit is contained in:
@@ -923,7 +923,7 @@ void State::initializeExtensionProcs()
|
||||
{
|
||||
const GLubyte* renderer = glGetString(GL_RENDERER);
|
||||
std::string rendererString = renderer ? (const char*)renderer : "";
|
||||
if (rendererString.find("Radeon")!=std::string::npos || rendererString.find("RADEON")!=std::string::npos)
|
||||
if (rendererString.find("Radeon")!=std::string::npos || rendererString.find("RADEON")!=std::string::npos || rendererString.find("FirePro")!=std::string::npos)
|
||||
{
|
||||
// AMD/ATI drivers are producing an invalid enumerate error on the
|
||||
// glGetQueryiv(GL_TIMESTAMP, GL_QUERY_COUNTER_BITS_ARB, &bits);
|
||||
|
||||
Reference in New Issue
Block a user