From cabfe1abf0fe4442f28c96516de25d16600a221b Mon Sep 17 00:00:00 2001 From: neauoire Date: Fri, 17 Sep 2021 08:24:12 -0700 Subject: [PATCH] Removed failed attempt at texture reset --- src/uxnemu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/uxnemu.c b/src/uxnemu.c index 0c6e737..9b0a85f 100644 --- a/src/uxnemu.c +++ b/src/uxnemu.c @@ -216,7 +216,6 @@ init(void) 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, 4); if(!(ppu_screen = malloc(ppu.width * ppu.height * sizeof(Uint32)))) return 0; SDL_StartTextInput();