mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-15 16:49:27 +00:00
Print a more helpful error when failing to convert component
This commit is contained in:
1 parent
c070c3e643
commit
2ebcb9a337
1 file changed
+1
-1
@@ -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