Re: [AD] [patch] register_trace_handler() MacOS/DirectX issue |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2006-10-11, Daniel Schlyder <daniel@xxxxxxxxxx> wrote:
> The DirectX and MacOS drivers call register_trace_handler() when the
> user calls install_allegro(). This means it's not possible to register a
> handler for all messages. If you register one after installing Allegro,
> you will at least get the "Allegro initialised" message, and the
> allegro.log file will be created in the CWD.
Committed. I'm not sure, but maybe some documentation needs to be
updated? I did not see anywhere that register_trace_handler actually
can be called before initialising Allegro, but it seems the right thing
to allow it.
Peter