Bug 1308057 - GPU_DISJOINT shouldn't assert the ext. - r=ethlin draft
authorJeff Gilbert (:jgilbert) <jgilbert@mozilla.com>
Thu, 10 Nov 2016 17:49:44 -0800
changeset 437537 c51e0f32071cd3d6ca34af198a5927f5197364c0
parent 437536 7cea37292bd9fa6903b3f535e9d5c0fce0dc3fa4
child 536660 a9cfcb8130aabba448984c4af42b2bd650ab86d7
push id35436
push userbmo:jgilbert@mozilla.com
push dateFri, 11 Nov 2016 01:52:22 +0000
reviewersethlin
bugs1308057
milestone52.0a1
Bug 1308057 - GPU_DISJOINT shouldn't assert the ext. - r=ethlin MozReview-Commit-ID: vvBJZV4DcW
dom/canvas/WebGLContextState.cpp
--- a/dom/canvas/WebGLContextState.cpp
+++ b/dom/canvas/WebGLContextState.cpp
@@ -276,17 +276,16 @@ WebGLContext::GetParameter(JSContext* cx
                 }
                 // TODO: JS doesn't support 64-bit integers. Be lossy and
                 // cast to double (53 bits)
                 return JS::NumberValue(val);
             }
 
         case LOCAL_GL_GPU_DISJOINT_EXT:
             {
-                MOZ_ASSERT(gl->IsExtensionSupported(gl::GLContext::EXT_disjoint_timer_query));
                 realGLboolean val = false;
                 gl->fGetBooleanv(pname, &val);
                 return JS::BooleanValue(val);
             }
 
         default:
             break;
         }