diff options
author | kdx <kikoodx@paranoici.org> | 2023-12-16 03:23:01 +0100 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-12-16 03:23:03 +0100 |
commit | 221a7d0618b4f8b6af19b089f49818806fe1e1b3 (patch) | |
tree | 688211a87d03ba3a1acbb527b0f434aa3533aa45 /headers | |
parent | 1546f59de4e15fd6653cce36b8719c1c9c0fdd8d (diff) | |
download | tzr-221a7d0618b4f8b6af19b089f49818806fe1e1b3.tar.gz |
resizable viewport
Diffstat (limited to 'headers')
-rw-r--r-- | headers/TZR.h | 3 |
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); |