commit 0cc717b251dd48b3a052329dab3c4af827e08df9
parent 659dea48d81b13b1679e09daf35ee26548f8d843
Author: neauoire <aliceffekt@gmail.com>
Date: Wed, 22 Sep 2021 11:56:27 -0700
Removed white flash on launch
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/uxnemu.c b/src/uxnemu.c
@@ -165,7 +165,6 @@ set_size(Uint16 width, Uint16 height, int is_resize)
gTexture = SDL_CreateTexture(gRenderer, SDL_PIXELFORMAT_ARGB8888, SDL_TEXTUREACCESS_STATIC, ppu.width + PAD * 2, ppu.height + PAD * 2);
if(gTexture == NULL || SDL_SetTextureBlendMode(gTexture, SDL_BLENDMODE_NONE))
return error("sdl_texture", SDL_GetError());
- SDL_UpdateTexture(gTexture, NULL, ppu_screen, sizeof(Uint32));
if(is_resize)
set_window_size(gWindow, (ppu.width + PAD * 2) * zoom, (ppu.height + PAD * 2) * zoom);
reqdraw = 1;