diff options
author | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2024-04-11 20:58:38 +0200 |
---|---|---|
committer | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2024-04-11 21:05:47 +0200 |
commit | 8b90c1f407b4f4aa3802858e23aa90d7dfbe17ad (patch) | |
tree | 4080e975e33df6f3c57ff5f3486f97923c9bbbe3 /stage3/cheese3d.c | |
parent | a6669e496e46ef89673103b3330226c7d0201a1a (diff) | |
download | cuddles-8b90c1f407b4f4aa3802858e23aa90d7dfbe17ad.tar.xz |
bootinfo struct
Diffstat (limited to 'stage3/cheese3d.c')
-rw-r--r-- | stage3/cheese3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stage3/cheese3d.c b/stage3/cheese3d.c index 4d58a35..0c73f90 100644 --- a/stage3/cheese3d.c +++ b/stage3/cheese3d.c @@ -1,7 +1,7 @@ #include "heap.h" #include "math3d.h" #include "cheese3d.h" -#include "gfx.h" +#include "bootinfo.h" #include "memory.h" cheese3d_ctx cheese3d_create(void *target, u32 width, u32 height, u32 pitch, u32 bgcolor) @@ -19,7 +19,7 @@ cheese3d_ctx cheese3d_create(void *target, u32 width, u32 height, u32 pitch, u32 cheese3d_ctx cheese3d_create_default(u32 bgcolor) { - return cheese3d_create((void *) (u64) gfx_info->framebuffer, gfx_info->width, gfx_info->height, gfx_info->pitch, bgcolor); + return cheese3d_create(bootinfo->gfx_framebuffer, bootinfo->gfx_width, bootinfo->gfx_height, bootinfo->gfx_pitch, bgcolor); } void cheese3d_destroy(cheese3d_ctx ctx) |