D3D: Amend code to fix a new VS warning
Fixes warning C4334
This commit is contained in:
parent
d2c4ce8696
commit
33c22ffab7
|
@ -1030,7 +1030,7 @@ void Renderer::ApplyState(bool bUseDstAlpha)
|
|||
for (unsigned int stage = 0; stage < 8; stage++)
|
||||
{
|
||||
// TODO: cache SamplerState directly, not d3d object
|
||||
gx_state.sampler[stage].max_anisotropy = 1 << g_ActiveConfig.iMaxAnisotropy;
|
||||
gx_state.sampler[stage].max_anisotropy = UINT64_C(1) << g_ActiveConfig.iMaxAnisotropy;
|
||||
D3D::stateman->SetSampler(stage, gx_state_cache.Get(gx_state.sampler[stage]));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue