summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-05-18 08:56:03 +0200
committerkdx <kikoodx@paranoici.org>2023-05-18 08:56:03 +0200
commit70ae6542bd29604ee94d536c43cc4d0907e5f952 (patch)
tree977bc7fa1526f2cd32e1873d023180506572fbbd
parentfb217b8b3f75486ad72e76e2daa8c40ecef75f93 (diff)
downloadpx-70ae6542bd29604ee94d536c43cc4d0907e5f952.tar.gz
clear screen
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 0e5e502..514db1a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -47,6 +47,7 @@ main(void)
pxPal();
pxSpal();
pxPalt();
+ pxCls(0);
for (int i = 0; i < PX_WIDTH * PX_HEIGHT; i++)
if (pxbuf[i])
pxbuf[i] -= 1;