Skip to content

Commit 76ff57a

Browse files
committed
Remove obsolete code. Now in r_dsgraph_render_hud_ui
1 parent 2faae09 commit 76ff57a

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

src/Layers/xrRender/r__dsgraph_render.cpp

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -373,37 +373,6 @@ void D3DXRenderBase::r_dsgraph_render_hud()
373373
if (g_hud && g_hud->RenderActiveItemUIQuery())
374374
r_dsgraph_render_hud_ui(); // hud ui
375375
#endif
376-
/*
377-
if(g_hud && g_hud->RenderActiveItemUIQuery())
378-
{
379-
#if RENDER!=R_R1
380-
// Targets, use accumulator for temporary storage
381-
const ref_rt rt_null;
382-
// Reset all rt.
383-
//RCache.set_RT(0, 0);
384-
RCache.set_RT(0, 1);
385-
RCache.set_RT(0, 2);
386-
//if (RImplementation.o.albedo_wo) RCache.set_RT(RImplementation.Target->rt_Accumulator->pRT, 0);
387-
//else RCache.set_RT(RImplementation.Target->rt_Color->pRT, 0);
388-
if (RImplementation.o.albedo_wo) RImplementation.Target->u_setrt
389-
(RImplementation.Target->rt_Accumulator, rt_null, rt_null, HW.pBaseZB);
390-
else RImplementation.Target->u_setrt (RImplementation.Target->rt_Color,
391-
rt_null, rt_null, HW.pBaseZB);
392-
// View port is reset in DX9 when you change rt
393-
rmNear ();
394-
#endif
395-
g_hud->RenderActiveItemUI ();
396-
397-
#if RENDER!=R_R1
398-
//RCache.set_RT(0, 0);
399-
// Targets, use accumulator for temporary storage
400-
if (RImplementation.o.albedo_wo) RImplementation.Target->u_setrt (RImplementation.Target->rt_Position,
401-
RImplementation.Target->rt_Normal, RImplementation.Target->rt_Accumulator, HW.pBaseZB);
402-
else RImplementation.Target->u_setrt (RImplementation.Target->rt_Position,
403-
RImplementation.Target->rt_Normal, RImplementation.Target->rt_Color, HW.pBaseZB);
404-
#endif
405-
}
406-
*/
407376

408377
rmNormal();
409378

0 commit comments

Comments
 (0)