git.s-ol.nu ~forks/DiligentFX / 77165ae
Updated Light Scattering FX to match the new API (240070) assiduous 1 year, 4 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
595595 for (auto Fmt : {EpipolarImageDepthFmt0, EpipolarImageDepthFmt1})
596596 {
597597 const auto& FmtInfo = pDevice->GetTextureFormatInfoExt(Fmt);
598 if (FmtInfo.DepthRenderable)
598 if (FmtInfo.BindFlags & BIND_DEPTH_STENCIL)
599599 {
600600 TexDesc.Format = Fmt;
601601 break;