From d3a46ff56d42240c2b8d408f505ac28e54a0d386 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Sun, 10 May 2026 16:46:59 -0400 Subject: add `ty_log_debug()` It's useful to have output that only appears in debug builds. The macro is defined to be empty in release builds, so the output isn't polluted by random log statements in release. --- dc/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dc/dc.c') diff --git a/dc/dc.c b/dc/dc.c index acb1e74..942174b 100644 --- a/dc/dc.c +++ b/dc/dc.c @@ -78,7 +78,7 @@ int main(void) ty_sleep(1000 / hints.ticrate); - ty_log_info("%g ms", (float)(clock() - start) / CLOCKS_PER_SEC); + ty_log_debug("%g ms", (float)(clock() - start) / CLOCKS_PER_SEC); } ty_free_image(img); -- cgit v1.3-2-g0d8e