diff options
| author | Aleksa Vuckovic <aleksav013@gmail.com> | 2022-08-12 15:36:57 +0200 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksav013@gmail.com> | 2022-08-12 15:48:26 +0200 |
| commit | 5c1c4eb0a4084b666342e6f8eb348eb80be6214b (patch) | |
| tree | 18fd33482c2cdd66eb6be18ac25ad8bde62012ad /kernel/include/graphics.h | |
| parent | 97c5f8569a845b6e9b3f75460b3b90a2de9b72a8 (diff) | |
memcpy, memset; small fixes
Diffstat (limited to 'kernel/include/graphics.h')
| -rw-r--r-- | kernel/include/graphics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/include/graphics.h b/kernel/include/graphics.h index 6876d3a..e974781 100644 --- a/kernel/include/graphics.h +++ b/kernel/include/graphics.h @@ -23,7 +23,7 @@ extern fb_t main_fb; #define WHITE 0x00ffffff #define BLACK 0x00000000 -uint64_t* pixel_offset(fb_t fb, int32_t x, int32_t y); +uint32_t* pixel_offset(fb_t fb, uint32_t x, uint32_t y); void fb_draw_pixel(fb_t fb, int32_t x, int32_t y, uint32_t col); void fb_draw_line_low(fb_t fb, int32_t x0, int32_t y0, int32_t x1, int32_t y1, uint32_t col); void fb_draw_line_high(fb_t fb, int32_t x0, int32_t y0, int32_t x1, int32_t y1, uint32_t col); |
