- Removed the outer pixel cropping, it causes blur in some games. (I knew I should've done it elsewhere :p )

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2248 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2009-11-24 21:41:26 +00:00
parent b288e82b95
commit 651a73a16c
1 changed files with 2 additions and 1 deletions

View File

@ -226,7 +226,7 @@ bool GSRenderer::Merge(int field)
GSVector4 scale = GSVector4(tex[i]->GetScale()).xyxy(); GSVector4 scale = GSVector4(tex[i]->GetScale()).xyxy();
src[i] = GSVector4(r) * scale / GSVector4(tex[i]->GetSize()).xyxy(); src[i] = GSVector4(r) * scale / GSVector4(tex[i]->GetSize()).xyxy();
src[i] += GSVector4(0.001f,0.001f,-0.001f,-0.001f); // crop a few of the outermost pixels, which are often buggy //src[i] += GSVector4(0.001f,0.001f,-0.001f,-0.001f); // crop a few of the outermost pixels, which are often buggy. Note: causes blur
GSVector2 o(0, 0); GSVector2 o(0, 0);
@ -575,6 +575,7 @@ void GSRenderer::GetTextureMinMax(GSVector4i& r, bool linear)
if(vr.w > uv.w + 1) vr.w = uv.w + 1; if(vr.w > uv.w + 1) vr.w = uv.w + 1;
break; break;
case CLAMP_REGION_REPEAT: // TODO case CLAMP_REGION_REPEAT: // TODO
printf("gsdx: CLAMP_REGION_REPEAT not implemented, please report\n");
break; break;
default: default:
__assume(0); __assume(0);