Re: [AD] al_set_target_bitmap and transforms

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


Thanks, committed.

-SL

On 10/23/2016 04:31 PM, Edgar Reynaldo wrote:
On 10/20/2016 8:29 PM, SiegeLord wrote:
Yes, that's what is happening. Yes, that'd be a reasonable addition to
the documentation (this is documented inside al_use_transform right
now, but perhaps it makes sense to have this mentioned in
al_set_target_bitmap too).

-SL

On 10/20/2016 09:49 AM, Edgar Reynaldo wrote:
Hey people,

I was just wondering, what happens when al_set_target_bitmap is called
with respect to transformations? I assume since each bitmap has its own
transforms, that they are made current when al_set_target_bitmap is
called? I see a call to new_display->vt->set_target_bitmap(new_display,
bitmap);

and

new_display->vt->update_transformation(new_display, bitmap);

at the end of al_set_target_bitmap. Is that what is happening there?

It just seems that this aspect of al_set_target_bitmap is not documented
at all in the manual and that it should be. Edgar


_______________________________________________
Allegro-developers mailing list
Allegro-developers@xxxxxxxxxx
https://mail.gna.org/listinfo/allegro-developers

I've created a patch to supplement the documentation for
al_set_target_bitmap. Let me know if you want it modified. It is attached.

Edgar








_______________________________________________
Allegro-developers mailing list
Allegro-developers@xxxxxxxxxx
https://mail.gna.org/listinfo/allegro-developers





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