diff options
| author | Stenzek <stenzek@gmail.com> | 2017-03-10 23:40:52 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-03-10 23:41:20 +1000 |
| commit | 42993eeabce6745da1aede10344c9ee7b035aa2e (patch) | |
| tree | cd8c889c6bae920c2d3242379f2d760a0b6b0486 /Source/Core/VideoBackends/D3D/D3DBase.cpp | |
| parent | ae0f9c200d2b076525873e58d36e10ff2319215b (diff) | |
D3D11: Fix error on startup with >2.5xIR selected
Diffstat (limited to 'Source/Core/VideoBackends/D3D/D3DBase.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/D3DBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
