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
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] fix for using transformations without a display and make blending mode a per-display state
- From: Elias Pschernig <elias.pschernig@xxxxxxxxxx>
- Date: Thu, 04 Mar 2010 23:36:47 +0100
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>