They no longer have "Radeon" as part of the renderer string, at least
with the amdgpu driver.
}
string renderer = reinterpret_cast<const char *>(glGetString(GL_RENDERER));
- if(renderer.find("Radeon")!=string::npos)
+ if(renderer.find("Radeon")!=string::npos || renderer.find("AMD")!=string::npos)
{
/* Radeon doesn't process NV_primitive_restart correctly and treats
the restart index as a normal element if the indices are stored in a