fixing color bug

This commit is contained in:
2023-04-19 11:51:13 +02:00
parent c497645ee9
commit e7d65a297e
9 changed files with 31 additions and 20 deletions

View File

@@ -67,7 +67,7 @@ namespace mlx::core
_graphics[*static_cast<int*>(win)].reset();
}
void Application::pixelPut(void* win, int x, int y, int color) const noexcept
void Application::pixelPut(void* win, int x, int y, uint32_t color) const noexcept
{
_graphics[*static_cast<int*>(win)]->pixelPut(x, y, color);
}