[d3d10] Implement Get/SetTextFilterSize using the behaviour D3D10 exhibits (#587)

This commit is contained in:
Joshua Ashton 2018-08-22 00:32:59 +01:00 committed by Philip Rebohle
parent 4c8bf44738
commit 48697346c0
1 changed files with 8 additions and 3 deletions

View File

@ -1568,14 +1568,19 @@ namespace dxvk {
void STDMETHODCALLTYPE D3D10Device::SetTextFilterSize(
UINT Width,
UINT Height) {
Logger::err("D3D10Device::SetTextFilterSize: Not implemented");
// D3D10 doesn't seem to actually store or do anything with these values,
// as when calling GetTextFilterSize, it just makes the values 0.
}
void STDMETHODCALLTYPE D3D10Device::GetTextFilterSize(
UINT* pWidth,
UINT* pHeight) {
Logger::err("D3D10Device::GetTextFilterSize: Not implemented");
if (pWidth)
*pWidth = 0;
if (pHeight)
*pHeight = 0;
}
}
}