From 68d956583d5747fd95c7a051567bd41cdb619d0a Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 21 Jan 2012 20:16:18 +0900 Subject: [PATCH] Draw ALL of the particles, not just 2/3 of them. Using quads requires 4 elements, but triangles require 6. I'd gotten the element array setup right, but I'd forgotten to tweak vacount when drawing the particles. --- libs/video/renderer/glsl/glsl_particles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/video/renderer/glsl/glsl_particles.c b/libs/video/renderer/glsl/glsl_particles.c index 8db008272..5231a148d 100644 --- a/libs/video/renderer/glsl/glsl_particles.c +++ b/libs/video/renderer/glsl/glsl_particles.c @@ -1616,7 +1616,7 @@ draw_qf_particles (void) VectorAdd (part->org, up_right_scale, VA[3].vertex); VA += 4; - vacount += 4; + vacount += 6; } part->phys (part);