From 974f4e1ea8ebe6858e9eaa6d7e0244a7cbcd53c1 Mon Sep 17 00:00:00 2001 From: Jeff Gilbert Date: Mon, 1 Aug 2016 22:59:25 -0700 Subject: [PATCH] Bug 1291083 - Explicitly make WEBGL_depth_texture formats filterable. - r=mtseng MozReview-Commit-ID: DaVpIHZZ0cI --- dom/canvas/WebGLExtensionDepthTexture.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dom/canvas/WebGLExtensionDepthTexture.cpp b/dom/canvas/WebGLExtensionDepthTexture.cpp index 9d4f7aee352f..5afd6ba66475 100644 --- a/dom/canvas/WebGLExtensionDepthTexture.cpp +++ b/dom/canvas/WebGLExtensionDepthTexture.cpp @@ -20,6 +20,7 @@ WebGLExtensionDepthTexture::WebGLExtensionDepthTexture(WebGLContext* webgl) GLenum unpackType) { auto usage = fua->EditUsage(effFormat); + usage->isFilterable = true; usage->SetRenderable(); const webgl::PackingInfo pi = {unpackFormat, unpackType};