1
0
Fork 0

Move debug options to runtime

This commit is contained in:
Drashna Jael're 2024-10-19 14:10:45 -07:00
parent 90f769fb7d
commit 326c9de6d6
Signed by: drashna
GPG key ID: DBA1FD3A860D1B11
7 changed files with 37 additions and 14 deletions

View file

@ -19,7 +19,10 @@
#ifdef QUANTUM_PAINTER_DEBUG
# include <debug.h>
# include <print.h>
# define qp_dprintf(...) dprintf(__VA_ARGS__)
# define qp_dprintf(fmt, ...) \
do { \
if (debug_config.quantum_painter) xprintf(fmt, ##__VA_ARGS__); \
} while (0)
#else
# define qp_dprintf(...) \
do { \