TextureCache: Fix D3D backends crashing when a game uses multiple 1x1-sized LODs.

This commit is contained in:
NeoBrainX
2013-02-18 17:14:56 +01:00
parent d0ea94a2aa
commit 19ab5bf50d
6 changed files with 13 additions and 3 deletions

View File

@ -93,6 +93,7 @@ void InitBackendInfo()
const int maxConstants = (shaderModel < 3) ? 32 : ((shaderModel < 4) ? 224 : 65536);
g_Config.backend_info.APIType = shaderModel < 3 ? API_D3D9_SM20 :API_D3D9_SM30;
g_Config.backend_info.bUseRGBATextures = false;
g_Config.backend_info.bUseMinimalMipCount = true;
g_Config.backend_info.bSupports3DVision = true;
g_Config.backend_info.bSupportsDualSourceBlend = false;
g_Config.backend_info.bSupportsFormatReinterpretation = true;