From cd749a6adcc9116190cb42b1937c4d83bdc1ff31 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Thu, 26 Jan 2017 10:18:06 +0200 Subject: Make draw_indicator warning 1ms 0.5ms is already bad but the debug output will not print more than 0 precision so >= 0ms looks weird. --- glcapture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glcapture.c b/glcapture.c index 19c7756..751f9f6 100644 --- a/glcapture.c +++ b/glcapture.c @@ -522,7 +522,7 @@ swap_buffers(void) const GLenum error0 = glGetError(); glGetIntegerv(GL_VIEWPORT, view); PROFILE(capture_frame(&gl, view), 2.0, "capture_frame"); - PROFILE(draw_indicator(view), 0.5, "draw_indicator"); + PROFILE(draw_indicator(view), 1.0, "draw_indicator"); if (error0 != glGetError()) { WARNX("glError occured"); -- cgit v1.2.3