diff options
author | Silvan Jegen <s.jegen@gmail.com> | 2019-01-13 19:00:35 +0100 |
---|---|---|
committer | Silvan Jegen <s.jegen@gmail.com> | 2019-01-13 19:00:35 +0100 |
commit | 4e3b66e4a82f7997ad9f1c2112e2af20728e406d (patch) | |
tree | b96689f7e78f94adfd53c6285eee3c6e58d03a3f /main.c | |
parent | 92a4fbb74a151038391ddc03cb48e6b567776a0d (diff) |
Use SDL_RenderCopy instead of SDL_UpdateTexture
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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.
|