Fixed day_cycle for include opengl