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

@@ -32,7 +32,7 @@ namespace mlx
_pixel_put_pipeline.setPixel(x, y, color);
}
void GraphicsSupport::stringPut(int x, int y, int color, std::string str)
void GraphicsSupport::stringPut(int x, int y, uint32_t color, std::string str)
{
MLX_PROFILE_FUNCTION();
_text_put_pipeline->put(x, y, color, str);