Added more Event stuff
This commit is contained in:
@@ -2040,6 +2040,7 @@ static void draw_ripple_particles(ripple_struct* data, mat4* mat) {
|
||||
uniform->arr[U_RIPPLE] = data->ripple_uniform;
|
||||
uniform->arr[U_RIPPLE_EMIT] = data->ripple_emit_uniform;
|
||||
|
||||
gl_state_begin_event("EffectRipple::Impl::draw_ripple_particles");
|
||||
gl_state_set_color_mask(GL_FALSE, GL_FALSE, GL_FALSE, GL_TRUE);
|
||||
gl_state_bind_vertex_array(rctx->common_vao);
|
||||
|
||||
@@ -2052,6 +2053,7 @@ static void draw_ripple_particles(ripple_struct* data, mat4* mat) {
|
||||
|
||||
gl_state_bind_vertex_array(0);
|
||||
gl_state_set_color_mask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
||||
gl_state_end_event();
|
||||
}
|
||||
|
||||
static void draw_water_particle(water_particle* data, mat4* mat) {
|
||||
|
||||
Reference in New Issue
Block a user