From ca308d58793e35bb331e0ebc08fea972bdf8af4c Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 17 Dec 2017 09:27:32 +0000 Subject: [PATCH] Happened to be reading a SDL doc and noticed we were creating our surface with the wrong flags git-svn-id: https://svn.eduke32.com/eduke32@6567 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/sdlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/sdlayer.cpp b/source/build/src/sdlayer.cpp index 60ac70bd4..523425868 100644 --- a/source/build/src/sdlayer.cpp +++ b/source/build/src/sdlayer.cpp @@ -1542,7 +1542,7 @@ static void sdl_trycreaterenderer(int32_t const x, int32_t const y) initprintf("Trying SDL_Renderer \"%s\"\n", sdl_rendererinfo.name); - sdl_texture = SDL_CreateTexture(sdl_renderer, SDL_PIXELFORMAT_ARGB8888, SDL_TEXTUREACCESS_STATIC, x, y); + sdl_texture = SDL_CreateTexture(sdl_renderer, SDL_PIXELFORMAT_ARGB8888, SDL_TEXTUREACCESS_STREAMING, x, y); if (!sdl_texture) { sdl_trycreaterenderer_fail("SDL_CreateTexture");