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
Родитель 901ccc3aeb
Коммит 974f4e1ea8
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

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