From 4e3b66e4a82f7997ad9f1c2112e2af20728e406d Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Sun, 13 Jan 2019 19:00:35 +0100 Subject: Use SDL_RenderCopy instead of SDL_UpdateTexture --- main.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'main.c') 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. -- cgit v1.2.1-18-gbd029