aboutsummaryrefslogtreecommitdiff
path: root/src/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl')
-rw-r--r--src/sdl/main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sdl/main.c b/src/sdl/main.c
index 83ea51e..852a5ae 100644
--- a/src/sdl/main.c
+++ b/src/sdl/main.c
@@ -131,6 +131,19 @@ set_level(
draw_ctx->level->name,
(int) level_num
);
+
+ if (false) {
+ // log dead edges (disabled)
+ for (size_t i = 0; i < ctx->num_dead_edges; i++) {
+ SDL_Log(
+ "dead edge: [%u, %u] => [%u, %u]",
+ ctx->dead_edges[i].src.x,
+ ctx->dead_edges[i].src.y,
+ ctx->dead_edges[i].dst.x,
+ ctx->dead_edges[i].dst.y
+ );
+ }
+ }
}
static void