aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-12-16 03:23:01 +0100
committerkdx <kikoodx@paranoici.org>2023-12-16 03:23:03 +0100
commit221a7d0618b4f8b6af19b089f49818806fe1e1b3 (patch)
tree688211a87d03ba3a1acbb527b0f434aa3533aa45 /headers
parent1546f59de4e15fd6653cce36b8719c1c9c0fdd8d (diff)
downloadtzr-221a7d0618b4f8b6af19b089f49818806fe1e1b3.tar.gz
resizable viewport
Diffstat (limited to 'headers')
-rw-r--r--headers/TZR.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/headers/TZR.h b/headers/TZR.h
index fab1c55..2d9e7d4 100644
--- a/headers/TZR.h
+++ b/headers/TZR.h
@@ -50,3 +50,6 @@ int TZR_MainLoop(int (*main_loop)(void *udata), void *udata);
unsigned long TZR_GetTick(void);
void TZR_ToggleFullscreen(void);
+
+/* NEVER call this during draw */
+int TZR_SetViewportSize(int width, int height);