diff options
Diffstat (limited to 'src')
-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); |