diff --git a/plug-ins/file-dds/ddsread.c b/plug-ins/file-dds/ddsread.c index 8ea62343ed..7931a72f49 100644 --- a/plug-ins/file-dds/ddsread.c +++ b/plug-ins/file-dds/ddsread.c @@ -972,6 +972,7 @@ validate_dx10_header (dds_header_dx10_t *dx10hdr, case DXGI_FORMAT_BC5_UNORM: case DXGI_FORMAT_BC5_SNORM: /* Return early for supported compressed formats */ + load_info->dxgi_format = dx10hdr->dxgiFormat & 0xFF; return TRUE; default: /* Unset FourCC flag for uncompressed formats */