@@ -134,7 +134,7 @@ void CRenderDevice::RenderThreadProc(void* context)
134134 renderTotalReal.Begin ();
135135 if (device.b_is_Active && device.Begin ())
136136 {
137- device.seqRender .Process (rp_Render );
137+ device.seqRender .Process ();
138138 device.CalcFrameStats ();
139139 device.Statistic ->Show ();
140140 device.End (); // Present goes here
@@ -162,7 +162,7 @@ void CRenderDevice::SecondaryThreadProc(void* context)
162162 for (u32 pit = 0 ; pit < device.seqParallel .size (); pit++)
163163 device.seqParallel [pit]();
164164 device.seqParallel .clear ();
165- device.seqFrameMT .Process (rp_Frame );
165+ device.seqFrameMT .Process ();
166166 device.syncFrameDone .Set ();
167167 }
168168}
@@ -285,7 +285,7 @@ void CRenderDevice::on_idle()
285285 renderTotalReal.Begin ();
286286 if (b_is_Active && Begin ())
287287 {
288- seqRender.Process (rp_Render );
288+ seqRender.Process ();
289289 CalcFrameStats ();
290290 Statistic->Show ();
291291 End (); // Present goes here
@@ -364,13 +364,13 @@ void CRenderDevice::Run()
364364 thread_spawn (SecondaryThreadProc, " X-RAY Secondary thread" , 0 , this );
365365 // thread_spawn(RenderThreadProc, "X-RAY Render thread", 0, this);
366366 // Message cycle
367- seqAppStart.Process (rp_AppStart );
367+ seqAppStart.Process ();
368368 GEnv.Render ->ClearTarget ();
369369 splash::hide ();
370370 ShowWindow (m_hWnd, SW_SHOWNORMAL);
371371 pInput->ClipCursor (true );
372372 message_loop ();
373- seqAppEnd.Process (rp_AppEnd );
373+ seqAppEnd.Process ();
374374 // Stop Balance-Thread
375375 mt_bMustExit = TRUE ;
376376 // renderProcessFrame.Set();
@@ -428,7 +428,7 @@ void CRenderDevice::FrameMove()
428428 stats.EngineTotal .Begin ();
429429 // TODO: HACK to test loading screen.
430430 // if(!g_bLoaded)
431- Device.seqFrame .Process (rp_Frame );
431+ Device.seqFrame .Process ();
432432 g_bLoaded = TRUE ;
433433 // else
434434 // seqFrame.Process(rp_Frame);
@@ -506,13 +506,13 @@ void CRenderDevice::OnWM_Activate(WPARAM wParam, LPARAM /*lParam*/)
506506 Device.b_is_Active = isGameActive;
507507 if (Device.b_is_Active )
508508 {
509- Device.seqAppActivate .Process (rp_AppActivate );
509+ Device.seqAppActivate .Process ();
510510 app_inactive_time += TimerMM.GetElapsed_ms () - app_inactive_time_start;
511511 }
512512 else
513513 {
514514 app_inactive_time_start = TimerMM.GetElapsed_ms ();
515- Device.seqAppDeactivate .Process (rp_AppDeactivate );
515+ Device.seqAppDeactivate .Process ();
516516 }
517517 }
518518}
0 commit comments