mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:52:57 +00:00
[dxgi] d3d12: fix incorrect mapping range
This commit is contained in:
parent
3838e1f996
commit
cc48257aeb
1 changed files with 1 additions and 1 deletions
|
@ -551,7 +551,7 @@ static CaptureResult d3d12_mapTexture(Texture * parent)
|
|||
D3D12_RANGE range =
|
||||
{
|
||||
.Begin = 0,
|
||||
.End = dxgi->pitch * dxgi->height
|
||||
.End = this->pitch * this->height
|
||||
};
|
||||
status = ID3D12Resource_Map(*tex->tex, 0, &range, &parent->map);
|
||||
|
||||
|
|
Loading…
Reference in a new issue