We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4fbf826 + 7067c03 commit 0027705Copy full SHA for 0027705
src/Layers/xrRender/r__dsgraph_build.cpp
@@ -361,7 +361,8 @@ void R_dsgraph_structure::r_dsgraph_insert_static(dxRender_Visual* pVisual)
361
if (!pmask[sh->flags.iPriority / 2]) return;
362
363
// Water rendering
364
- if (sh->flags.isWater)
+#if RENDER==R_R4
365
+ if (sh->flags.isWater && RImplementation.o.ssfx_water)
366
{
367
mapWater_Node* N = mapWater.insertInAnyWay(distSQ);
368
N->val.ssa = SSA;
@@ -371,6 +372,7 @@ void R_dsgraph_structure::r_dsgraph_insert_static(dxRender_Visual* pVisual)
371
372
N->val.se = sh;
373
return;
374
}
375
+#endif
376
377
// strict-sorting selection
378
if (sh->flags.bStrictB2F)
0 commit comments