From 42993eeabce6745da1aede10344c9ee7b035aa2e Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 10 Mar 2017 23:40:52 +1000 Subject: D3D11: Fix error on startup with >2.5xIR selected --- Source/Core/VideoBackends/D3D/D3DBase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoBackends/D3D/D3DBase.cpp') diff --git a/Source/Core/VideoBackends/D3D/D3DBase.cpp b/Source/Core/VideoBackends/D3D/D3DBase.cpp index 3edd936efa..5b4328cb7f 100644 --- a/Source/Core/VideoBackends/D3D/D3DBase.cpp +++ b/Source/Core/VideoBackends/D3D/D3DBase.cpp @@ -526,9 +526,9 @@ bool BGRATexturesSupported() // Returns the maximum width/height of a texture. This value only depends upon the feature level in // DX11 -unsigned int GetMaxTextureSize() +u32 GetMaxTextureSize(D3D_FEATURE_LEVEL feature_level) { - switch (featlevel) + switch (feature_level) { case D3D_FEATURE_LEVEL_11_0: return D3D11_REQ_TEXTURE2D_U_OR_V_DIMENSION; -- cgit v1.2.3