From 67a84940ea0031005c834f71aef73038db8db87c Mon Sep 17 00:00:00 2001 From: roytam1 Date: Tue, 20 Sep 2022 14:58:51 +0800 Subject: [PATCH] d3d9: further lowered MaxTexture limit to 1024 to give chance for Radeon 9550 and GMA 965 to use hardware acceleration --- gfx/layers/d3d9/DeviceManagerD3D9.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/layers/d3d9/DeviceManagerD3D9.cpp b/gfx/layers/d3d9/DeviceManagerD3D9.cpp index dd88eaa9e7..2e898f09e9 100644 --- a/gfx/layers/d3d9/DeviceManagerD3D9.cpp +++ b/gfx/layers/d3d9/DeviceManagerD3D9.cpp @@ -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 ||