summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/Render.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-03-30 20:45:40 -0400
committerLioncash <mathew1800@gmail.com>2016-03-30 20:59:57 -0400
commit33c22ffab7554802573da60d7cc5655fa90688a3 (patch)
treec731082c839428ee0745b235234ac3b00860bf70 /Source/Core/VideoBackends/D3D/Render.cpp
parentd2c4ce8696f9fc80ce772b511b5c7f3d00422e86 (diff)
D3D: Amend code to fix a new VS warning
Fixes warning C4334
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]));
}