]> git.tdb.fi Git - libs/gl.git/blobdiff - source/extension.cpp
Add check for more modern AMD video cards
[libs/gl.git] / source / extension.cpp
index 023510da4bdce0d751317735800eb06329477559..bceab7ad964e1e3e68fe44bb174b76d8b992fd5b 100644 (file)
@@ -82,7 +82,7 @@ bool is_supported(const string &ext)
                }
 
                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