fixing color management issue with texts

This commit is contained in:
Kbz-8
2024-01-10 20:22:53 +01:00
parent 3c60e76094
commit c485f039fb
8 changed files with 30 additions and 22 deletions

View File

@@ -97,7 +97,7 @@ namespace mlx::core
_graphics[*static_cast<int*>(win)]->pixelPut(x, y, color);
}
void Application::stringPut(void* win, int x, int y, int color, char* str)
void Application::stringPut(void* win, int x, int y, uint32_t color, char* str)
{
MLX_PROFILE_FUNCTION();
CHECK_WINDOW_PTR(win);