IDXGIOutput :: FindClosestMatchingMode是否损坏?

时间:2020-03-29 19:36:17

标签: windows dxgi direct3d12

这是上次致电IDXGIOutput::GetDisplayModeList

返回的条目之一
[63]    {Width=1920 Height=1080 RefreshRate={Numerator=59940 Denominator=1000 } ...}    DXGI_MODE_DESC
Width   1920    unsigned int
Height  1080    unsigned int
RefreshRate {Numerator=59940 Denominator=1000 } DXGI_RATIONAL
Format  DXGI_FORMAT_R8G8B8A8_UNORM_SRGB (29)    DXGI_FORMAT
ScanlineOrdering    DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE (1)    DXGI_MODE_SCANLINE_ORDER
Scaling DXGI_MODE_SCALING_UNSPECIFIED (0)   DXGI_MODE_SCALING

这就是我要传递给IDXGIOutput::FindClosestMatchingMode

的内容
search  {Width=1920 Height=1080 RefreshRate={Numerator=59940 Denominator=1000 } ...}    DXGI_MODE_DESC
Width   1920    unsigned int
Height  1080    unsigned int
RefreshRate {Numerator=59940 Denominator=1000 } DXGI_RATIONAL
Format  DXGI_FORMAT_R8G8B8A8_UNORM_SRGB (29)    DXGI_FORMAT
ScanlineOrdering    DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE (1)    DXGI_MODE_SCANLINE_ORDER
Scaling DXGI_MODE_SCALING_UNSPECIFIED (0)   DXGI_MODE_SCALING

我得到DXGI_ERROR_NOT_FOUND结果代码。为什么?

P.S。具有最新更新的Windows 10、1080Ti,驱动程序版本26.21.14.4187。

0 个答案:

没有答案