Changeset - r26347:8f6890cc0376
[Not reviewed]
master
0 1 0
Niels Martin Hansen - 2 years ago 2022-08-27 20:05:20
nielsm@indvikleren.dk
Fix #9971: Don't assert that time moves forward
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/framerate_gui.cpp
Show inline comments
 
@@ -965,7 +965,7 @@ struct FrametimeGraphWindow : Window {
 
					(int)Scinterlate<int64>(x_zero, x_max, 0, (int64)draw_horz_scale, (int64)draw_horz_scale - (int64)time_sum),
 
					(int)Scinterlate<int64>(y_zero, y_max, 0, (int64)draw_vert_scale, (int64)value)
 
				};
 
				assert(newpoint.x <= lastpoint.x);
 
				if (newpoint.x > lastpoint.x) continue; // don't draw backwards
 
				GfxDrawLine(lastpoint.x, lastpoint.y, newpoint.x, newpoint.y, c_lines);
 
				lastpoint = newpoint;
 

	
0 comments (0 inline, 0 general)