Bug 1291083 - Explicitly make WEBGL_depth_texture formats filterable. - r=mtseng

MozReview-Commit-ID: DaVpIHZZ0cI
This commit is contained in:
Jeff Gilbert 2016-08-01 22:59:25 -07:00
parent 901ccc3aeb
commit 974f4e1ea8

View File

@ -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};