mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 15:17:29 +09:00
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:
parent
1e93ef4c00
commit
67a84940ea
1 changed files with 2 additions and 2 deletions
|
|
@ -781,9 +781,9 @@ DeviceManagerD3D9::VerifyCaps()
|
||||||
if (LACKS_CAP(caps.TextureAddressCaps, D3DPTADDRESSCAPS_CLAMP)) {
|
if (LACKS_CAP(caps.TextureAddressCaps, D3DPTADDRESSCAPS_CLAMP)) {
|
||||||
return false;
|
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);
|
mMaxTextureSize = std::min(caps.MaxTextureHeight, caps.MaxTextureWidth);
|
||||||
if(mMaxTextureSize<2048){
|
if(mMaxTextureSize < 1024){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ((caps.PixelShaderVersion & 0xffff) < 0x200 ||
|
if ((caps.PixelShaderVersion & 0xffff) < 0x200 ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue