Update opengl_state_machine.c