From 8e26b01b0503671ce31a3ea93540a6478e389627 Mon Sep 17 00:00:00 2001 From: Samuel Walker Date: Sat, 31 Aug 2024 20:20:08 -0600 Subject: [PATCH] fixed rendering issues --- src/main.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main.c b/src/main.c index 7321d75..ecf7909 100644 --- a/src/main.c +++ b/src/main.c @@ -206,14 +206,13 @@ void drawMap() { void render() { clearScreenWithTile(TILE_EMPTY); - initTileBuffer(12); // map color - uploadTileDataToVRAM(TILE_FILLED); - initTileBuffer(0); // background color - uploadTileDataToVRAM(TILE_EMPTY); drawMap(); VDP_setTextPlane(BG_B); VDP_setTextPalette(2); - VDP_showFPS(0); + VDP_showFPS(1); + for(int i = 0; i < 50; i++){ + castRay(10); + } SYS_doVBlankProcess(); }