aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-02-13 14:11:18 +0100
committerkdx <kikoodx@paranoici.org>2023-02-13 14:11:18 +0100
commiteff3bfdd813490f028e9e2f9ab1e37fa50671893 (patch)
treea2c16f042750e9c066f0308b25ca415855693d9e /main.c
parenta3afe85dfc256488baa4fe6a15cdd7c17137a2cf (diff)
downloadtzr-eff3bfdd813490f028e9e2f9ab1e37fa50671893.tar.gz
basic events
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.c b/main.c
index 31a91cb..09add6d 100644
--- a/main.c
+++ b/main.c
@@ -7,5 +7,10 @@ int main(int argc, char **argv)
return 1;
if (atexit(TZR_Quit))
return TZR_Quit(), 1;
+ while (!TZR_ShouldQuit()) {
+ TZR_CycleEvents();
+ TZR_DrawBegin();
+ TZR_DrawEnd();
+ }
return 0;
}