summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2017-01-26 10:18:06 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2017-01-26 10:18:06 +0200
commitcd749a6adcc9116190cb42b1937c4d83bdc1ff31 (patch)
treef2123dea7253517fc88ee0f80710f3f682e8c7b9
parent526b0e9721578e321bd8bf31478fe848b826ade7 (diff)
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.
-rw-r--r--glcapture.c2
1 files changed, 1 insertions, 1 deletions
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");