diff options
| author | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-05-11 23:50:41 -0400 |
|---|---|---|
| committer | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-05-11 23:50:41 -0400 |
| commit | 4956918086a85031bb47b28e868c0ff8e6cc8f95 (patch) | |
| tree | a0080dd235a2ba7e0320f294689edbd6a9f7d58f /kernel/include/framebuffer.h | |
| parent | 975a9ec96e282e437ccc1bdf1e660dcbf4542791 (diff) | |
changed width and height to be uint32_t instead of uint64_t
Diffstat (limited to 'kernel/include/framebuffer.h')
| -rw-r--r-- | kernel/include/framebuffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/include/framebuffer.h b/kernel/include/framebuffer.h index b7f8ba2..7379d90 100644 --- a/kernel/include/framebuffer.h +++ b/kernel/include/framebuffer.h @@ -3,9 +3,9 @@ #include <stdint.h>
-void fb_init(uint32_t* addr, uint64_t width, uint64_t height);
+void fb_init(uint32_t* addr, uint32_t width, uint32_t height);
void fb_clear();
-void draw_pixel(const uint64_t x, const uint64_t y, const uint32_t color);
-void draw_bitmap(const uint32_t* bitmap, const uint64_t x_pos, const uint64_t y_pos, const uint64_t width, const uint64_t height);
+void draw_pixel(const uint32_t x, const uint32_t y, const uint32_t color);
+void draw_bitmap(const uint32_t* bitmap, const uint32_t x_pos, const uint32_t y_pos, const uint32_t width, const uint32_t height);
#endif
\ No newline at end of file |
