diff options
author | kdx <kikoodx@paranoici.org> | 2023-04-17 13:20:22 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-04-17 13:20:22 +0200 |
commit | 8164d9623eae77040a1fbafa41acc891f0d33aa1 (patch) | |
tree | 2e4a72c82c98e56c992816424e49aff0440ca4b4 | |
parent | 5be9f675a51072dfbd8e01edc11c9aebcad0195e (diff) | |
download | px-8164d9623eae77040a1fbafa41acc891f0d33aa1.tar.gz |
rename render->flip
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/px.c | 2 | ||||
-rw-r--r-- | src/px.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -49,7 +49,7 @@ main(void) pxPset(0, 1, pxPget(0, 0)); TZR_DrawBegin(); - pxRender(); + pxFlip(); TZR_DrawEnd(); } @@ -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++) { @@ -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'. */ |