aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-01-13 20:43:41 -0500
committerPaul Duncan <pabs@pablotron.org>2019-01-13 20:43:41 -0500
commit5d63ee685c19e2e696a99cce6f0b9fc8cf8ff7de (patch)
tree20f0d8b104d7d74518e4888d3b8b89d427c0fa3c /src
parent61581fc273dbe668e096933a6fc4806d05bb1c47 (diff)
downloadsok-5d63ee685c19e2e696a99cce6f0b9fc8cf8ff7de.tar.bz2
sok-5d63ee685c19e2e696a99cce6f0b9fc8cf8ff7de.zip
remove debug calls
Diffstat (limited to 'src')
-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) {