mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-02 04:41:08 +00:00
Print better error messages for failures to save textures to disk
This commit is contained in:
@@ -694,7 +694,10 @@ bool write_dds_to_file(FILE *f, const dds_data &data)
|
||||
headerDXT10.arraySize = data.slices;
|
||||
|
||||
if(headerDXT10.dxgiFormat == DXGI_FORMAT_UNKNOWN)
|
||||
{
|
||||
RDCERR("Couldn't convert resource format to DXGI format");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(data.cubemap)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user