mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-27 16:23:02 +00:00
Revert "set render logical size (fixes zooming with npe)"
This reverts commit 21b78f2aed
.
That broke on non-Plan 9, so first figure out why this works fine in FT2, but not in Uxn.
This commit is contained in:
parent
21b78f2aed
commit
e31612f0af
1 changed files with 0 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue