gluttimerfunc / fortran / recursive subroutine
I'm using the gluttimerfunc to update my graph and I have some problems using it in a recursive subroutine.
END PROGRAM MAIN
RECURSIVE SUBROUTINE timer(selection)
INTEGER(glcint), INTENT(IN OUT) :: selection
CALL update_graph ! Subroutine for updating ...
END SUBROUTINE timer
END MODULE timer_update
When the timer is called in the subroutine, the program just crashes !
Is someone have an idea on that ?