Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Im hesitant about upgrading to GLUT 3.0 since Ive got things working will with GLUT 2.3. Is the transition painful?

0
Posted

Im hesitant about upgrading to GLUT 3.0 since Ive got things working will with GLUT 2.3. Is the transition painful?

0

A7: I do not believe so. There are two changes worth noting that _may_ affect programs you have written. First, you need a display callback registered before your display your windows on the screen. It did not make sense for this to not be true. In all likeihood, this should not affect your GLUT programs if they written well. Second, you can no longer change, create, or destroy menus while pop-up menus are in use. Before, you could do this, but it meant a menu might be changed while in use. It was near impossible to describe what should happen in the case of menus being changed while in use that was likely to be portable to the way other window systems handled menus, so I made the practice illegal. You can register a menu status callback to know when menus become used and unused to avoid changing menus while they are in use. For more details about what has changed, see the CHANGES file.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.