From 5d63ee685c19e2e696a99cce6f0b9fc8cf8ff7de Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 13 Jan 2019 20:43:41 -0500 Subject: remove debug calls --- src/sdl/main.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3