summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2012-04-22 02:47:03 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2012-04-22 02:47:03 +0000
commit094ba4f2666ef9fba8e570e93bcafcad10ccaab2 (patch)
tree3b32a2690cccebfb38d5e70c13d600de21dc6a5c
parent0866030f2f4e592b517423645e1eebc874046d40 (diff)
Another Clang fix [Balrog]
-rw-r--r--src/emu/video/polynew.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/video/polynew.h b/src/emu/video/polynew.h
index 296d2144b1f..4b5fd553f13 100644
--- a/src/emu/video/polynew.h
+++ b/src/emu/video/polynew.h
@@ -1112,10 +1112,10 @@ int poly_manager<_BaseType, _ObjectData, _MaxParams, _MaxPolys>::zclip_if_less(i
const vertex_t &v1 = v[(vertnum == 0) ? (numverts - 1) : (vertnum - 1)];
const vertex_t &v2 = v[vertnum];
_BaseType frac = (clipval - v1.p[0]) / (v2.p[0] - v1.p[0]);
- nextout.x = v1.x + frac * (v2.x - v1.x);
- nextout.y = v1.y + frac * (v2.y - v1.y);
+ nextout->x = v1.x + frac * (v2.x - v1.x);
+ nextout->y = v1.y + frac * (v2.y - v1.y);
for (int paramnum = 0; paramnum < paramcount; paramnum++)
- nextout.p[paramnum] = v1.p[paramnum] + frac * (v2.p[paramnum] - v1.p[paramnum]);
+ nextout->p[paramnum] = v1.p[paramnum] + frac * (v2.p[paramnum] - v1.p[paramnum]);
nextout++;
}