summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/Render.cpp
diff options
context:
space:
mode:
authorshuffle2 <godisgovernment@gmail.com>2016-04-03 17:14:45 -0700
committershuffle2 <godisgovernment@gmail.com>2016-04-03 17:14:45 -0700
commitc63ef18fcc566cc8719444837c833e3362c2766f (patch)
tree11713c06d847afaacb71656f3bd5abb177263c85 /Source/Core/VideoBackends/D3D/Render.cpp
parent23f6c645258bbd1811e56c06106f234fc7cc412f (diff)
parent8d9221a71e235393db3c03322e1324f400d0d915 (diff)
Merge pull request #3760 from lioncash/vs
pch: Update Visual Studio version check
Diffstat (limited to 'Source/Core/VideoBackends/D3D/Render.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D/Render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3D/Render.cpp b/Source/Core/VideoBackends/D3D/Render.cpp
index dd6fafcdb9..189b4466a4 100644
--- a/Source/Core/VideoBackends/D3D/Render.cpp
+++ b/Source/Core/VideoBackends/D3D/Render.cpp
@@ -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]));
}