Bug 1388565 - shader_texture_lod is core in GL3 and ES3. - r=daoshengmu draft
authorJeff Gilbert <jgilbert@mozilla.com>
Tue, 08 Aug 2017 16:46:42 -0700
changeset 646996 16689ec7dca84f1118b714f8ca74664c9c68f284
parent 646995 f5d9ff7c3c8ff96d1c2bebb2d4721d3e2d22fd77
child 646997 47398b1c818e2d23c267fddb60e3c5e510b85fa3
push id74278
push userbmo:jgilbert@mozilla.com
push dateTue, 15 Aug 2017 23:11:38 +0000
reviewersdaoshengmu
bugs1388565
milestone57.0a1
Bug 1388565 - shader_texture_lod is core in GL3 and ES3. - r=daoshengmu MozReview-Commit-ID: IbqRF4MdK2l
gfx/gl/GLContextFeatures.cpp
--- a/gfx/gl/GLContextFeatures.cpp
+++ b/gfx/gl/GLContextFeatures.cpp
@@ -582,18 +582,18 @@ static const FeatureInfo sFeatureInfoArr
         GLESVersion::NONE,
         GLContext::ARB_seamless_cube_map,
         {
             GLContext::Extensions_End
         }
     },
     {
         "shader_texture_lod",
-        GLVersion::NONE,
-        GLESVersion::NONE,
+        GLVersion::GL3,
+        GLESVersion::ES3,
         GLContext::Extension_None,
         {
             GLContext::ARB_shader_texture_lod,
             GLContext::EXT_shader_texture_lod,
             GLContext::Extensions_End
         }
     },
     {