Bug 1081666 - Fix detection of ARB_transform_feedback2 GL extension.; r=jgilbert
authorDan Glastonbury <dglastonbury@mozilla.com>
Mon, 13 Oct 2014 12:26:16 +1000
changeset 210340 872cd2c32ccf1340b5087cd5d0d9a9e0b70ecda0
parent 210339 a797dcc3dafce772625fa9a74af1fa2cc8e36aaa
child 210341 4414bcd4350e43118ecfc281ebd809ed1874a23a
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersjgilbert
bugs1081666
milestone36.0a1
Bug 1081666 - Fix detection of ARB_transform_feedback2 GL extension.; r=jgilbert
gfx/gl/GLContextFeatures.cpp
--- a/gfx/gl/GLContextFeatures.cpp
+++ b/gfx/gl/GLContextFeatures.cpp
@@ -540,19 +540,18 @@ static const FeatureInfo sFeatureInfoArr
              */
             GLContext::Extensions_End
         }
     },
     {
         "transform_feedback2",
         400, // OpenGL version
         300, // OpenGL ES version
-        GLContext::Extension_None,
+        GLContext::ARB_transform_feedback2,
         {
-            GLContext::ARB_transform_feedback2,
             GLContext::NV_transform_feedback2,
             GLContext::Extensions_End
         }
     },
     {
         "uniform_buffer_object",
         310, // OpenGL version
         300, // OpenGL ES version