Fix handling of overlays when rendering to mips

* Also removes some unnecessary variations in behaviour between APIs
This commit is contained in:
baldurk
2020-03-12 15:42:54 +00:00
parent 02184b07e7
commit 954e29df9e
14 changed files with 207 additions and 179 deletions
-2
View File
@@ -752,8 +752,6 @@ void TextureViewer::RT_FetchCurrentPixel(IReplayController *r, uint32_t x, uint3
if(overlayResId != ResourceId())
{
id = overlayResId;
sub.sample = 0;
sub.slice = 0;
typeCast = CompType::Typeless;
}
}