camera_finalize( &ortho );
gui.factive = vg_lerpf( gui.factive, gui.helper_count?1.0f:0.0f,
- vg.time_delta*2.0f );
+ vg.time_frame_delta*2.0f );
if( gui.factive > 0.01f ){
/* draw bottom bar */
render_fsquad1();
}
- f64 loc_t = (vg.time - gui.location_time) / 5.0;
+ f64 loc_t = (vg.time_real - gui.location_time) / 5.0;
if( (loc_t < 1.0) && (gui.location_time != 0.0) ){
/* yep this code is a mess, i dont care anymore */
glEnable(GL_BLEND);
}
if( !strcmp(gui.location,new_loc) ) return 0;
vg_strncpy( new_loc, gui.location, 64, k_strncpy_always_add_null );
- gui.location_time = vg.time;
+ gui.location_time = vg.time_real;
}
return 0;
}