Use ATI instead of AMD in vendor name.

This commit is contained in:
vlj 2014-08-28 22:08:56 +02:00
parent 5878cb35ec
commit ae18730c92

View File

@ -481,7 +481,7 @@ void IrrDriver::initDevice()
m_need_rh_workaround = true;
// Fix for AMD and bindless sRGB textures
if (strstr((const char *)glGetString(GL_VENDOR), "AMD") != NULL)
if (strstr((const char *)glGetString(GL_VENDOR), "ATI") != NULL)
m_need_srgb_workaround = true;
}
m_glsl = (GLMajorVersion > 3 || (GLMajorVersion == 3 && GLMinorVersion >= 1));