Re: [AD] offscreen sub bitmaps revisited |
[ 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] offscreen sub bitmaps revisited
- From: Matthew Leverton <meffer@xxxxxxxxxx>
- Date: Mon, 21 Jun 2010 15:37:31 -0500
On Mon, Jun 21, 2010 at 2:19 PM, Elias Pschernig
<elias.pschernig@xxxxxxxxxx> wrote:
> What kind of side effects?
>
I don't remember. It may have been with D3D. I just now removed the
x/y<0 clip and basic drawing appeared to work in OpenGL. I'll play
around with it more later.
There is this:
/* Note:
* Drivers are guaranteed that the parent is not a subbitmap itself
* and that the passed rectangle lies fully within the parent.
*/
which would no longer be true. If for some reason it's problematic
with some drivers, I don't mind if they return NULL. I think that's
more useful than the odd cropping that currently takes place.
--
Matthew Leverton