mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 22:53:34 +00:00
adding debug vulkan resources names
This commit is contained in:
@@ -49,7 +49,7 @@ namespace mlx
|
||||
{
|
||||
MLX_PROFILE_FUNCTION();
|
||||
Texture* texture;
|
||||
try { texture = new Texture({}, w, h); }
|
||||
try { texture = new Texture({}, w, h, VK_FORMAT_R8G8B8A8_SRGB, false, "mlx_user_image"); }
|
||||
catch(...) { return NULL; }
|
||||
m_image_registry.RegisterTexture(texture);
|
||||
return texture;
|
||||
|
||||
Reference in New Issue
Block a user