Re: [AD] fix for using transformations without a display and make blending mode a per-display state

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


On Fri, 2010-03-05 at 09:27 +1100, Peter Wang wrote:
> 
> I fixed(?) a simple problem in al_use_transform where the
> current_display->vt may be NULL.  I don't know how many other places
> need a similar fix.
> 

Yeah, the transformations were added without taking the possibility to
draw to memory bitmaps into account it seems.

I fixed another problem earlier having to do with how I allocated the
fake display... it's now put into static memory instead of allocated,
even though it should only be needed vary rarely, so I'd prefer to
allocate it. Is there a way to call a function when a thread is
destroyed in Windows? (Like we do with pthreads for OSX and IPhone.) If
yes can implement a better solution.

-- 
Elias Pschernig <elias.pschernig@xxxxxxxxxx>





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