X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fpolyfill.h;h=e60ff6bfadc2cf4972bb4de80622929881bce6ed;hb=09ff9fd9a87d495d8c2d55203af89d0f651b5d3a;hp=88166cfb818a6e9940ccc3fd7f1d7c906c6a47fd;hpb=f57fab6afe62f2a476ef4afa1842c81722816451;p=gbajam22 diff --git a/src/polyfill.h b/src/polyfill.h index 88166cf..e60ff6b 100644 --- a/src/polyfill.h +++ b/src/polyfill.h @@ -1,6 +1,6 @@ /* -blender for the Gameboy Advance -Copyright (C) 2021 John Tsiombikas +gbajam22 entry for the Gameboy Advance +Copyright (C) 2022 John Tsiombikas This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ struct pvertex { int32_t x, y; }; -void polyfill_framebuffer(unsigned char *fb, int width, int height); +void polyfill_framebuffer(void *fb, int width, int height); void polyfill_flat(struct pvertex *v, int vnum, unsigned char col); int clip_line(int *x0, int *y0, int *x1, int *y1, int xmin, int ymin, int xmax, int ymax);