Icon lookup: allow debugging enabled by env variable

This commit is contained in:
o9000
2017-09-01 11:34:28 +02:00
parent 95d4d90efd
commit 6a1b2f0610
3 changed files with 39 additions and 11 deletions

View File

@@ -82,6 +82,7 @@ void handle_env_vars()
{
debug_geometry = getenv("DEBUG_GEOMETRY") != NULL;
debug_gradients = getenv("DEBUG_GRADIENTS") != NULL;
debug_icons = getenv("DEBUG_ICONS") != NULL;
debug_fps = getenv("DEBUG_FPS") != NULL;
debug_frames = getenv("DEBUG_FRAMES") != NULL;
if (debug_fps) {