This commit is contained in:
Branimir Karadžić 2015-06-18 22:33:06 -07:00
parent c80cc04445
commit 5ebe50c705

View File

@ -1659,9 +1659,9 @@ BX_PRAGMA_DIAGNOSTIC_POP();
if (!!(_resolution.m_flags & BGFX_RESET_MAXANISOTROPY) ) if (!!(_resolution.m_flags & BGFX_RESET_MAXANISOTROPY) )
{ {
m_maxAnisotropy = (m_featureLevel == D3D_FEATURE_LEVEL_9_1) m_maxAnisotropy = (m_featureLevel == D3D_FEATURE_LEVEL_9_1)
? D3D_FL9_1_DEFAULT_MAX_ANISOTROPY ? D3D_FL9_1_DEFAULT_MAX_ANISOTROPY
: D3D11_REQ_MAXANISOTROPY : D3D11_REQ_MAXANISOTROPY
; ;
} }
else else
{ {