mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
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:
parent
c728176352
commit
ca308d5879
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue