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
This commit is contained in:
terminx 2017-12-17 09:27:32 +00:00
parent c728176352
commit ca308d5879

View file

@ -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");