File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,9 @@ float g_camera_posY = 5.0;
98
98
int g_lastMouseDownUpdateX = -1 ;
99
99
int g_lastMouseDownUpdateY = -1 ;
100
100
GuiRenderImpl::Update g_update;
101
- const std::chrono::steady_clock::time_point g_invalidTime = std::chrono::time_point<std::chrono::high_resolution_clock>::max();
101
+ const auto g_invalidTime = std::chrono::time_point<std::chrono::high_resolution_clock>::max();
102
102
int g_benchmark_numberOfRenderIteration = 0 ;
103
- std::chrono::steady_clock::time_point g_benchmark_start = g_invalidTime;
103
+ auto g_benchmark_start = g_invalidTime;
104
104
105
105
106
106
// High batch size will increase the RPR performance ( rendering iteration per second ), but lower the render feedback FPS on the OpenGL viewer.
@@ -119,7 +119,7 @@ void renderJob( rpr_context ctxt, GuiRenderImpl::Update* update )
119
119
120
120
void Update ()
121
121
{
122
- auto timeUpdateStarts = std::chrono::high_resolution_clock::now ();
122
+ const auto timeUpdateStarts = std::chrono::high_resolution_clock::now ();
123
123
124
124
125
125
//
You can’t perform that action at this time.
0 commit comments