mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Print a more helpful error when failing to convert component
This commit is contained in:
@@ -155,7 +155,7 @@ float ConvertComponent(const ResourceFormat &fmt, byte *data)
|
||||
}
|
||||
}
|
||||
|
||||
RDCERR("Unexpected format to convert from");
|
||||
RDCERR("Unexpected format to convert from %u %u", fmt.compByteWidth, fmt.compType);
|
||||
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user