Bug 18322 - bug in _cairo_directfb_surface_release_source_image function
Summary: bug in _cairo_directfb_surface_release_source_image function
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.8.2
Hardware: Other All
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-31 01:12 UTC by haithem
Modified: 2008-10-31 01:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description haithem 2008-10-31 01:12:08 UTC
Hi Carl,

The function uses a variable "surface" without declaring it.

    D_DEBUG_AT (CairoDFB_Acquire,
                "%s( surface=%p ).\n", __FUNCTION__, surface);

which leads to a failure when compiling for cairo/directfb.

The fix, exists already in the 1.8.0, just to add:

 cairo_directfb_surface_t *surface = abstract_surface;

regards.
Comment 1 Chris Wilson 2008-10-31 01:44:29 UTC
Commited to my local 1.8 branch will push in the next batch.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.