mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Just remembered triangles were occasionally converted to sprites, need to set t.w there as well.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4967 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
ee9c9ac8f3
commit
4f6f53c188
|
@ -116,7 +116,7 @@ void GSDrawScanline::DrawRect(const GSVector4i& r, const GSVertexSW& v)
|
|||
const int* zbr = m_global.zbr;
|
||||
const int* zbc = m_global.zbc;
|
||||
|
||||
uint32 z = (uint32)v.p.z;
|
||||
uint32 z = v.t.u32[3]; // (uint32)v.p.z;
|
||||
|
||||
if(m_global.sel.zpsm != 2)
|
||||
{
|
||||
|
|
|
@ -879,6 +879,9 @@ if(!m_dump)
|
|||
if(tl != 0) m_vertices[0] = m_vertices[tl];
|
||||
if(br != 1) m_vertices[1] = m_vertices[br];
|
||||
|
||||
m_vertices[0].t.u32[3] = m_v.XYZ.Z;
|
||||
m_vertices[1].t.u32[3] = m_v.XYZ.Z;
|
||||
|
||||
m_count = 2;
|
||||
|
||||
uint32 tmp = PRIM->PRIM;
|
||||
|
|
Loading…
Reference in New Issue