aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/peops_if.c
diff options
context:
space:
mode:
authornotaz2011-12-09 00:31:22 +0200
committernotaz2011-12-09 01:29:54 +0200
commit8aea5f5ac9382379622991974bded6b08f328ddc (patch)
tree54956a418884c920832f7df7b5b4e36ea9cb09b7 /plugins/gpu_neon/peops_if.c
parent914455e692f4720c43f4bc2122a4795e6c45bc7c (diff)
downloadpcsx_rearmed-8aea5f5ac9382379622991974bded6b08f328ddc.tar.gz
pcsx_rearmed-8aea5f5ac9382379622991974bded6b08f328ddc.tar.bz2
pcsx_rearmed-8aea5f5ac9382379622991974bded6b08f328ddc.zip
gpu_neon: fix unai rasterizer
it can't work directly on the list because modifies it
Diffstat (limited to 'plugins/gpu_neon/peops_if.c')
-rw-r--r--plugins/gpu_neon/peops_if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gpu_neon/peops_if.c b/plugins/gpu_neon/peops_if.c
index d6c47e2..a492f3a 100644
--- a/plugins/gpu_neon/peops_if.c
+++ b/plugins/gpu_neon/peops_if.c
@@ -347,7 +347,7 @@ void do_cmd_list(unsigned int *list, int list_len)
}
if(num_vertexes > 2)
- len += ((num_vertexes * 2) - 2);
+ len += (num_vertexes - 2) * 2;
break;
}