mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 10:24:10 +01:00
[d3d9] Fix sampler decision at Present time
This commit is contained in:
parent
b6e1da916a
commit
33f6add0ff
@ -705,8 +705,8 @@ namespace dxvk {
|
||||
|
||||
// Use an appropriate texture filter depending on whether
|
||||
// the back buffer size matches the swap image size
|
||||
bool fitSize = swapImage->info().extent.width == info.imageExtent.width
|
||||
&& swapImage->info().extent.height == info.imageExtent.height;
|
||||
bool fitSize = m_dstRect.right - m_dstRect.left == m_srcRect.right - m_srcRect.left
|
||||
&& m_dstRect.bottom - m_dstRect.top == m_srcRect.bottom - m_srcRect.top;
|
||||
|
||||
D3D9PresentInfo presentInfoConsts;
|
||||
presentInfoConsts.scale[0] = float(m_srcRect.right - m_srcRect.left) / float(swapImage->info().extent.width);
|
||||
|
Loading…
Reference in New Issue
Block a user