SSRS WebGL Fix

This commit is contained in:
2026-09-13 20:18:00 -07:00
parent b2444be7e2
commit 635f8f6645

View File

@ -669,11 +669,20 @@ class Inc {
#end
#if rp_ssrs
#if (!kha_opengl)
path.setDepthFrom("accum", "gbuffer1"); // Unbind depth so we can read it
#end
path.bindTarget("_main", "gbufferD");
#end
path.drawMeshes("translucent");
#if rp_ssrs
#if (!kha_opengl)
path.setDepthFrom("accum", "gbuffer0"); // Re-bind depth
#end
#end
#if rp_render_to_texture
{
path.setTarget(target);