diff --git a/src/dxvk/dxvk_image.h b/src/dxvk/dxvk_image.h index 1035a23d2..31b3f8ab4 100644 --- a/src/dxvk/dxvk_image.h +++ b/src/dxvk/dxvk_image.h @@ -347,14 +347,6 @@ namespace dxvk { return m_image->info(); } - /** - * \brief Image format info - * \returns Image format info - */ - const DxvkFormatInfo* formatInfo() const { - return m_image->formatInfo(); - } - /** * \brief Image object * \returns Image object @@ -363,6 +355,14 @@ namespace dxvk { return m_image; } + /** + * \brief View format info + * \returns View format info + */ + const DxvkFormatInfo* formatInfo() const { + return imageFormatInfo(m_info.format); + } + /** * \brief Mip level size *