summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2015-12-08 23:45:07 +1000
committerStenzek <stenzek@gmail.com>2015-12-09 02:38:24 +1000
commit5dcd3cd4fd30cbe9cff872f952cea9f6d0b91376 (patch)
tree4ec379d35cafe2760d066305697001ee1bcdb127 /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent49cd777fce9b11ea4e4a3ed3bade8bed2396e2f4 (diff)
D3D: Fix crash when taking screenshot with crop enabled
This was due to specifying negative source coordinates for the texture copy, which must lie within the bounds of the source and destination textures. The behavior now is to clamp the copy region to [0 <= size <= backbuffer size], resulting in a copy region that can be smaller than the backbuffer, but never larger.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
0 files changed, 0 insertions, 0 deletions