Re: [AD] Add timeBeginPeriod(1) to wtimer.c

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


> > One question is, why does draw_sprite need so many critical sections?
> > Just
> > wondering. I saw n calls to draw_sprite call 3*n times
> > EnterCritialSection
> > and LeaveCriticalSection.
> 
> I'm not sure... someone who knows about the Windows code should probably
> have a look at it and be able to tell more. Other than that, perhaps it 
can
> be optimized by rearranging some instructions.

I assume no one has been able to do this? Would it be worthwhile to do it?

Evert




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