]> git.tdb.fi Git - libs/gl.git/commitdiff
Disable core version of primitive restart on Radeon as well
authorMikko Rasa <tdb@tdb.fi>
Sun, 8 Jan 2017 13:59:57 +0000 (15:59 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 8 Jan 2017 13:59:57 +0000 (15:59 +0200)
Maybe there's something wrong with my code but I can't figure what.  This
is the easy solution.

source/extension.cpp

index 692037c3b174583bf7f35ea2c1afae98413140e9..c543328b6550236819bbcb727440e3178cc9bf6e 100644 (file)
@@ -142,6 +142,9 @@ bool is_disabled(const string &ext)
                                buffer. */
                                disabled_exts.insert("GL_NV_primitive_restart");
 
+                               // The core primitive restart feature does not work either.
+                               disabled_exts.insert("GL_MSP_primitive_restart");
+
                                /* AMD's uniform buffer objects only work with the core version of
                                shaders. */
                                if(get_gl_version()<Version(2, 0))