actually render trails
[carveJwlIkooP6JGAAIwe30JlM.git] / particle.c
index d12a87a024e3db67de24a1134810655e884775d2..e1f6ac85b0f31270b75c0fafb91160aa0c767233 100644 (file)
@@ -1,4 +1,5 @@
 #include "particle.h"
+#include "shaders/trail.h"
 
 static void particle_spawn( particle_system *sys, 
                             v3f co, v3f v, f32 lifetime, u32 colour ){
@@ -98,6 +99,7 @@ static void particle_alloc( particle_system *sys, u32 max ){
    static int reg = 1;
    if( reg ){
       shader_particle_register();
+      shader_trail_register();
       reg = 0;
    }