[AD] [ alleg-Bugs-2951432 ] No clipping with sub-bitmap if (x <= 0 && y <= 0)

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


Bugs item #2951432, was opened at 2010-02-13 23:56
Message generated for change (Comment added) made by elias
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2951432&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 4.9
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: fbueren (fbueren)
Assigned to: Nobody/Anonymous (nobody)
Summary: No clipping with sub-bitmap if (x <= 0 && y <= 0)

Initial Comment:
When calling al_create_sub_bitmap(al_get_backbuffer(),  x, y ... whatever...)
I get no clipping at all if  (x <= 0 && y <= 0) . 
Seems to work as soon as  x > 0 || y > 0.

Tested under Linux.

----------------------------------------------------------------------

>Comment By: Elias Pschernig (elias)
Date: 2010-02-14 15:53

Message:
Thanks for your report. I looked at ex_subbitmap and couldn't notice a
problem, but I think I fixed this in SVN anyway. It seems some checks in
al_create_sub_bitmap where only done for memory bitmaps and not for the
back buffer. Still I'm not entirely sure it's fixed, so can you be a bit
more specific about the problem you encountered?

1) What did you do? (If possible attach a short test case, other at least
a few complete lines of code - we need something to reproduce it here and
the easier you make it for us the better.)
2) What did you expect to happen?
3) What did happen instead?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2951432&group_id=5665




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