mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Don't check width > 1 for image viewer to choose between 1D and 2D
This commit is contained in:
@@ -699,7 +699,7 @@ void ImageViewer::RefreshFile()
|
||||
texDetails.arraysize > 1 ? TextureType::TextureCubeArray : TextureType::TextureCube;
|
||||
texDetails.dimension = 2;
|
||||
}
|
||||
else if(texDetails.width > 1)
|
||||
else if(texDetails.height > 1)
|
||||
{
|
||||
texDetails.type =
|
||||
texDetails.arraysize > 1 ? TextureType::Texture2DArray : TextureType::Texture2D;
|
||||
|
||||
Reference in New Issue
Block a user