d3d9: further lowered MaxTexture limit to 1024 to give chance for Radeon 9550 and GMA 965 to use hardware acceleration

This commit is contained in:
roytam1 2022-09-20 14:58:51 +08:00
commit 67a84940ea

View file

@ -781,9 +781,9 @@ DeviceManagerD3D9::VerifyCaps()
if (LACKS_CAP(caps.TextureAddressCaps, D3DPTADDRESSCAPS_CLAMP)) {
return false;
}
//Lowered from 4096 to 2048 to allow older graphic cards
//Lowered from 4096 to 1024 to allow older graphic cards
mMaxTextureSize = std::min(caps.MaxTextureHeight, caps.MaxTextureWidth);
if(mMaxTextureSize<2048){
if(mMaxTextureSize < 1024){
return false;
}
if ((caps.PixelShaderVersion & 0xffff) < 0x200 ||