uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit b53d5c428bf3eb98fb07083de5e416a7c8a5c4c3
parent d6519a46d27219228d5ed438e18a43e9f9e3345d
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Sat,  9 Oct 2021 00:03:34 +0100

Re-added setting border pixels to black

Diffstat:
Msrc/uxnemu.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/uxnemu.c b/src/uxnemu.c @@ -157,6 +157,7 @@ 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); ppu.reqdraw = 1;