glutMainLoopEvent not called due to uninitialized gr_frm_ctr_

Issue #13 resolved
Kevin Chavez created an issue

CRobotApp::init should set gr_frm_ctr_ to zero. This value is used to to call glutMainLoopEvent every so many iterations, however, since it not initialized, the value is unpredictable, and in some cases is a really large negative number, gr_frm_ctr_ <= gr_frm_skip_ is not true for a very long time--causing the graphics to 'hang.'

Comments (4)

  1. Log in to comment