@@ -373,37 +373,6 @@ void D3DXRenderBase::r_dsgraph_render_hud()
373
373
if (g_hud && g_hud->RenderActiveItemUIQuery ())
374
374
r_dsgraph_render_hud_ui (); // hud ui
375
375
#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
- */
407
376
408
377
rmNormal ();
409
378
0 commit comments