summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-04-17 13:20:22 +0200
committerkdx <kikoodx@paranoici.org>2023-04-17 13:20:22 +0200
commit8164d9623eae77040a1fbafa41acc891f0d33aa1 (patch)
tree2e4a72c82c98e56c992816424e49aff0440ca4b4
parent5be9f675a51072dfbd8e01edc11c9aebcad0195e (diff)
downloadpx-8164d9623eae77040a1fbafa41acc891f0d33aa1.tar.gz
rename render->flip
-rw-r--r--src/main.c2
-rw-r--r--src/px.c2
-rw-r--r--src/px.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index beee27a..d5c2d01 100644
--- a/src/main.c
+++ b/src/main.c
@@ -49,7 +49,7 @@ main(void)
pxPset(0, 1, pxPget(0, 0));
TZR_DrawBegin();
- pxRender();
+ pxFlip();
TZR_DrawEnd();
}
diff --git a/src/px.c b/src/px.c
index 3ca7077..aed25c4 100644
--- a/src/px.c
+++ b/src/px.c
@@ -29,7 +29,7 @@ static struct {
} pxclip = {0, 0, PX_WIDTH, PX_HEIGHT};
void
-pxRender(void)
+pxFlip(void)
{
for (int y = 0; y < PX_HEIGHT; y++) {
for (int x = 0; x < PX_WIDTH; x++) {
diff --git a/src/px.h b/src/px.h
index 7fe0765..5af5764 100644
--- a/src/px.h
+++ b/src/px.h
@@ -39,7 +39,7 @@ typedef struct {
extern PxCol pxbuf[PX_WIDTH * PX_HEIGHT];
extern PxPal pxpal[256];
-void pxRender(void);
+void pxFlip(void);
/*** DRAW ***/
/* Fill the clipping region with color 'c'. */