зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1291083 - Explicitly make WEBGL_depth_texture formats filterable. - r=mtseng
MozReview-Commit-ID: DaVpIHZZ0cI
This commit is contained in:
Родитель
901ccc3aeb
Коммит
974f4e1ea8
|
@ -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};
|
||||
|
|
Загрузка…
Ссылка в новой задаче