hekate: gfx: correct a very very very old typo

This commit is contained in:
CTCaer committed 2025-12-17 04:48:37 +02:00
1 parent c584242873
commit 8b4d5507f6
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -128,9 +128,9 @@ void gfx_clear_grey(u8 color)
memset(gfx_ctxt.fb, color, gfx_ctxt.width * gfx_ctxt.height * 4);
}
void gfx_clear_partial_grey(u8 color, u32 pos_x, u32 height)
void gfx_clear_partial_grey(u8 color, u32 pos_y, u32 height)
{
memset(gfx_ctxt.fb + pos_x * gfx_ctxt.stride, color, height * 4 * gfx_ctxt.stride);
memset(gfx_ctxt.fb + pos_y * gfx_ctxt.stride, color, height * 4 * gfx_ctxt.stride);
}
void gfx_clear_color(u32 color)