mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Correct renderTriangles(): dzdx can be zero when all vertices have the same z.
This commit is contained in:
parent
279b011b2d
commit
7c51f9455e
|
@ -193,8 +193,6 @@ void renderTriangles(const SPVertex * _pVertices, const u8 * _pElements, u32 _nu
|
|||
continue;
|
||||
|
||||
const int dzdx = ((orbits & CLIP_W) == 0) ? calcDzDx(vclip) : calcDzDx2(vsrc);
|
||||
if (dzdx == 0)
|
||||
continue;
|
||||
|
||||
if (orbits == 0) {
|
||||
assert(numVertex == 3);
|
||||
|
|
Loading…
Reference in New Issue
Block a user