summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2019-01-13 19:00:35 +0100
committerSilvan Jegen <s.jegen@gmail.com>2019-01-13 19:00:35 +0100
commit4e3b66e4a82f7997ad9f1c2112e2af20728e406d (patch)
treeb96689f7e78f94adfd53c6285eee3c6e58d03a3f /main.c
parent92a4fbb74a151038391ddc03cb48e6b567776a0d (diff)
Use SDL_RenderCopy instead of SDL_UpdateTexture
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main.c b/main.c
index 02b3e36..a98b479 100644
--- a/main.c
+++ b/main.c
@@ -84,11 +84,6 @@ int main(int argc, char *argv[])
error_sdl("could not get title texture from surface\n");
}
- int w, h;
- Uint32 format;
- SDL_QueryTexture(surf_title_tex, &format, NULL, &w, &h);
- printf("w: %d, h: %d, format: %s\n", w, h, SDL_GetPixelFormatName(format));
-
/* We loop the menu continously for a number of reasons:
* 1) To make sure we capture and respond to user input
* 2) To continue redrawing the menu graphic.