aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 9bd302b..8d06221 100644
--- a/main.c
+++ b/main.c
@@ -60,6 +60,8 @@ main_loop(void *udata)
if (TZR_IsKeyPressed(SDL_SCANCODE_SPACE))
TZR_PlaySound(id2);
+ TZR_SetViewportSize(256 + x, 256 + y);
+
if (TZR_DrawBegin()
|| TZR_DrawSetColor(0.0f, 0.0f, 0.0f)
|| TZR_DrawClear()