mirror of https://github.com/PCSX2/pcsx2.git
GSdx:
Document an issue with the texture mapping for "CLAMP_REPEAT" modes (possibly the others as well). The problem causes displaced character portraits in Ar Tonelico 2. http://simplest-image-hosting.net/jpg-0-clamp-repeat-bug Review by Gabest would be nice ;) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4589 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
5335c64f12
commit
6c41b01390
|
@ -619,6 +619,9 @@ void GSRenderer::GetTextureMinMax(GSVector4i& r, const GIFRegTEX0& TEX0, const G
|
|||
switch(wms)
|
||||
{
|
||||
case CLAMP_REPEAT:
|
||||
// FixMe: The last + 1 here breaks character portraits in Ar Tonelico 2.
|
||||
// The problem is the same in HW and in SW rendering, and I also ruled out the
|
||||
// usual scaling problems. (rama)
|
||||
if(mask & 0x000f) {if(vr.x < u.x) vr.x = u.x; if(vr.z > u.z + 1) vr.z = u.z + 1;}
|
||||
break;
|
||||
case CLAMP_CLAMP:
|
||||
|
|
Loading…
Reference in New Issue