pushing for vavaas to debug

This commit is contained in:
Kbz-8
2024-10-27 20:55:21 +01:00
parent d4bd8b62c5
commit 1721632a75
7 changed files with 36 additions and 20 deletions

View File

@@ -27,6 +27,9 @@ namespace mlx
void GraphicsSupport::StringPut(int x, int y, std::uint32_t color, std::string str)
{
MLX_PROFILE_FUNCTION();
if(str.empty())
return;
Vec4f vec_color = {
static_cast<float>((color & 0x000000FF)) / 255.f,
static_cast<float>((color & 0x0000FF00) >> 8) / 255.f,