summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game.c6
-rw-r--r--src/player.c3
2 files changed, 6 insertions, 3 deletions
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);
}
}
{
diff --git a/src/player.c b/src/player.c
index e9e06fe..edf18e3 100644
--- a/src/player.c
+++ b/src/player.c
@@ -99,7 +99,8 @@ void tt_player_draw()
}
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);
}
{