From 72a022286d0588038019e879a2f475c7a31290c7 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Wed, 3 Mar 2021 01:53:06 +0300 Subject: . --- src/game.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index 2503590..b46b1d9 100644 --- a/src/game.c +++ b/src/game.c @@ -949,7 +949,8 @@ void changeroom(int out) } SDL_SetTextureAlphaMod(tttxr, 255); SDL_SetRenderTarget(ttrdr, 0); - SDL_RenderCopy(ttrdr, lighttxr, 0, 0); + SDL_Rect dst = { 0, 0, 950, 540 }; + SDL_RenderCopy(ttrdr, lighttxr, 0, &dst); } } { @@ -1023,7 +1024,8 @@ void changeroom(int out) } SDL_SetTextureAlphaMod(tttxr, 255); SDL_SetRenderTarget(ttrdr, 0); - SDL_RenderCopy(ttrdr, lighttxr, 0, 0); + SDL_Rect dst = { 0, 0, 950, 540 }; + SDL_RenderCopy(ttrdr, lighttxr, 0, &dst); } } { -- cgit v1.2.3