Re: [AD] Fwd: Suggestions & Problems

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]



Michael G wrote:
> >2. Creating or Destroying BITMAPs when allegro isn't initialized crashes
> >the program (system_driver is NULL). This makes it hard to construct c++
> >classes that have BITMAPs as members.

install_allegro(SYSTEM_NONE)? I don't know what would happen if you ran
it right after allegro_init(), so putting it in the class constructor
may not be a good idea.
Perhaps you can construct an "Allegro" object which takes care of that.

--
- Robert J Ohannessian

"Microsoft code is probably O(n^20)" (My CS teacher)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/