diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-03-18 16:31:40 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-03-18 16:31:40 (EDT) |
commit | 24468c113cb7a3fd2ed6089793e25015ea7c7c39 (patch) | |
tree | dab8803e6871813c7474e8f514d640f50f0a594e | |
parent | feee60fa34b5442f10d306be8aaaf52563f88648 (diff) | |
download | dodge-balls-24468c113cb7a3fd2ed6089793e25015ea7c7c39.zip dodge-balls-24468c113cb7a3fd2ed6089793e25015ea7c7c39.tar.gz dodge-balls-24468c113cb7a3fd2ed6089793e25015ea7c7c39.tar.bz2 |
main: Make texture static
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ _db_init(void) } _db_texture = SDL_CreateTexture(_db_renderer, SDL_PIXELFORMAT_ARGB8888, - SDL_TEXTUREACCESS_TARGET, 640, 480); + SDL_TEXTUREACCESS_STATIC, 640, 480); if (_db_texture == NULL) { db_err("Failed to create texture (%s)", SDL_GetError()); SDL_DestroyRenderer(_db_renderer); |