From e31612f0af2a29511b856197eef4f5a367d79fa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= <ftrvxmtrx@gmail.com> Date: Tue, 18 May 2021 13:39:55 +0200 Subject: [PATCH] Revert "set render logical size (fixes zooming with npe)" This reverts commit 21b78f2aed123ba081316dce3165f441bb21abfb. That broke on non-Plan 9, so first figure out why this works fine in FT2, but not in Uxn. --- src/emulator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/emulator.c b/src/emulator.c index b8076dd..3767ef7 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -113,7 +113,6 @@ init(void) gRenderer = SDL_CreateRenderer(gWindow, -1, 0); if(gRenderer == NULL) return error("Renderer", SDL_GetError()); - SDL_RenderSetLogicalSize(gRenderer, ppu.width, ppu.height); gTexture = SDL_CreateTexture(gRenderer, SDL_PIXELFORMAT_ARGB8888, SDL_TEXTUREACCESS_STATIC, ppu.width, ppu.height); if(gTexture == NULL) return error("Texture", SDL_GetError());