mirror of https://github.com/PCSX2/pcsx2.git
GregMiscellaneous: zzogl-pg:
* Fix a regression of my commit r3965 (missing draw in god of war) git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3989 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
447d0e72b4
commit
3a7aca738e
|
@ -93,7 +93,7 @@ void __gifCall GIFPackedRegHandlerXYZF2(const u32* data)
|
|||
GIFPackedXYZF2* r = (GIFPackedXYZF2*)(data);
|
||||
gs.add_vertex(r->X, r->Y,r->Z, r->F);
|
||||
|
||||
ZZKick->KickVertex(!!(data[3]>>31));
|
||||
ZZKick->KickVertex(!!(data[3]>>15));
|
||||
}
|
||||
|
||||
void __gifCall GIFPackedRegHandlerXYZ2(const u32* data)
|
||||
|
@ -102,7 +102,7 @@ void __gifCall GIFPackedRegHandlerXYZ2(const u32* data)
|
|||
GIFPackedXYZ2* r = (GIFPackedXYZ2*)(data);
|
||||
gs.add_vertex(r->X, r->Y,r->Z);
|
||||
|
||||
ZZKick->KickVertex(!!(data[3]>>31));
|
||||
ZZKick->KickVertex(!!(data[3]>>15));
|
||||
}
|
||||
|
||||
void __gifCall GIFPackedRegHandlerFOG(const u32* data)
|
||||
|
|
|
@ -86,7 +86,7 @@ class VB
|
|||
// Increase the size of pbuf
|
||||
void IncreaseVertexBuffer()
|
||||
{
|
||||
assert(pBufferData != NULL && nCount > nNumVertices);
|
||||
assert(pBufferData != NULL);
|
||||
nNumVertices *= 2;
|
||||
VertexGPU* ptemp = (VertexGPU*)_aligned_malloc(sizeof(VertexGPU) * nNumVertices, 256);
|
||||
memcpy_amd(ptemp, pBufferData, sizeof(VertexGPU) * nCount);
|
||||
|
|
Loading…
Reference in New Issue