Commit 6ec1d03e authored by Yusuf Khan's avatar Yusuf Khan
Browse files

nv30/draw: use ps instead of fn

Pushes an extra push if pn != 0.

Signed-off-by: Yusuf Khan's avatarYusuf Khan <>
parent b1cc59dc
Pipeline #732289 waiting for manual action with stages
......@@ -187,7 +187,7 @@ nv30_render_draw_arrays(struct vbuf_render *render, unsigned start, uint nr)
PUSH_DATA (push, r->prim);
BEGIN_NI04(push, NV30_3D(VB_VERTEX_BATCH), ps);
while (fn--) {
while (ps--) {
PUSH_DATA (push, 0xff000000 | start);
start += 256;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment