summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PerfQueryBase.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-09-17 02:13:03 +1200
committerScott Mansell <phiren@gmail.com>2015-09-17 02:22:00 +1200
commitdeeb1d837042f7d95404516bf590aa82aa5e1b4d (patch)
tree5b3badf414e60e0632c435e44773ab674ae62b33 /Source/Core/VideoCommon/PerfQueryBase.cpp
parentf56117534e5179aeef0fb5887a49b8cebf70f4a2 (diff)
Remove segfault from DX11 backend.
Instead of blindly using the expected width, clamp it to the stride of the buffer which dx11 returns. This prevents use from reading invalid memory at the end of textures. This doesn't solve the base issue of what to do when a game tries to copy from outside the efb. On real hardware it returns random noise (biased to all ones)
Diffstat (limited to 'Source/Core/VideoCommon/PerfQueryBase.cpp')
0 files changed, 0 insertions, 0 deletions