aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sdl/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sdl/main.c b/src/sdl/main.c
index 95597f0..9341f4a 100644
--- a/src/sdl/main.c
+++ b/src/sdl/main.c
@@ -62,6 +62,7 @@ log_renderer_info(
);
}
+#if 0
static void
log_texture_info(
SDL_Texture * const tex
@@ -84,6 +85,7 @@ log_texture_info(
format, access, w, h
);
}
+#endif /* 0 */
static void
solve_on_error(
@@ -139,12 +141,9 @@ int main(int argc, char *argv[]) {
.zoom = &zoom,
};
+ // init sprites
sprites_init(renderer, sprites_png_path, draw_ctx.sprites);
- log_texture_info(draw_ctx.sprites[0]);
-
- SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_NONE);
-
bool done = false;
SDL_Event ev;
while (!done) {