add clearscreen and wip func

This commit is contained in:
neon443 committed 2025-08-11 02:27:08 -04:00
1 parent ff4c3f52ad
commit 631bac1e3f
1 file changed
+14
+14
View File
@@ -8,6 +8,20 @@
#define screenSize width * height * 2
#define bufSize screenSize * 2
inline void clearScreen(void) {
u8 *frame = gfxGetFramebuffer(GFX_BOTTOM, GFX_LEFT, NULL, NULL)
memset(frame, 0, 320 * 240 * 3)
}
void cleanup() {
}
void writePicToFBuff(void *fb, void *img, u16 x, u16 y, u16 width, u16 height) {
u8 *fb_8 = (u8*) img
u16 *img_16 = (u16*) img
}
int main(int argc, char* argv[])
{
gfxInitDefault();
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.