2 #include "vg/vg_engine.h"
3 extern struct vg_shader _shader_particle
;
4 extern GLuint _uniform_particle_uPv
;
5 extern GLuint _uniform_particle_uPvPrev
;
6 static inline void shader_particle_uPv(m4x4f m
)
8 glUniformMatrix4fv(_uniform_particle_uPv
,1,GL_FALSE
,(f32
*)m
);
10 static inline void shader_particle_uPvPrev(m4x4f m
)
12 glUniformMatrix4fv(_uniform_particle_uPvPrev
,1,GL_FALSE
,(f32
*)m
);
14 static inline void shader_particle_use(void);
15 static inline void shader_particle_use(void)
17 glUseProgram(_shader_particle
.id
);