uxn

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

commit a87ececb71c11ef90a9f06e28681c3f7b697a16d
parent fda12df0f11cc861082a8009cb3c5a40a16ce803
Author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
Date:   Tue,  8 Aug 2023 02:49:02 +0200

remove SDL_RENDERER_TARGETTEXTURE (unused)

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

diff --git a/src/uxnemu.c b/src/uxnemu.c @@ -464,7 +464,7 @@ run(Uxn *u, char *rom) emu_window = SDL_CreateWindow(rom, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, (uxn_screen.width + PAD2) * zoom, (uxn_screen.height + PAD2) * zoom, SDL_WINDOW_SHOWN | SDL_WINDOW_ALLOW_HIGHDPI); if(emu_window == NULL) return system_error("sdl_window", SDL_GetError()); - emu_renderer = SDL_CreateRenderer(emu_window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_TARGETTEXTURE); + emu_renderer = SDL_CreateRenderer(emu_window, -1, SDL_RENDERER_ACCELERATED); if(emu_renderer == NULL) return system_error("sdl_renderer", SDL_GetError()); emu_resize(uxn_screen.width, uxn_screen.height);