New commits:

http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=bb78295986ec1234fb898735974baae8b704d730
commit bb78295986ec1234fb898735974baae8b704d730
Author: Denis Oliver Kropp <[email protected]>
Date:   Wed Feb 8 21:37:29 2012 +0100

    Core: Fix error path of surface allocation creation further, thanks to Rob 
McConnell!
    
    "Please find attached a patch against the 1.6-pre code you have that fixes 
an assertion failing when the surface allocation object is successfully 
created, but the actual AllocateBuffer() function fails.  In this case, the 
surface allocation object destructor is called, but because the allocation size 
is not set the "CORE_SURFACE_ALLOCATION_ASSERT()" macro bails out.
     I've added a new state flag to indicate that the allocation is being 
initialised.  This ties the actual allocation and AllocateBuffer() functions 
together."

 src/core/surface_allocation.c |   15 +++++++++------
 src/core/surface_allocation.h |    1 +
 src/core/surface_pool.c       |    4 +++-
 3 files changed, 13 insertions(+), 7 deletions(-)

_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs

Reply via email to