diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-11-13 19:35:23 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-11-13 20:20:52 +0000 |
commit | c180baf43b8a0e407448018f3a7e42491cf974ae (patch) | |
tree | d9eb5d6fe15d123de83643b84fa08dfb849f6413 /src/i830.h | |
parent | e9064eacb0ad8867e320597453facbb3c376522c (diff) |
i915: Derive the correct target color from the pixmap by checking its format
Particularly noting to route alpha to the green channel when blending
with a8 destinations.
Fixes:
rendercheck/repeat/triangles regressed
http://bugs.freedesktop.org/show_bug.cgi?id=25047
introduced with commit 14109a.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -259,8 +259,8 @@ typedef struct intel_screen_private { PixmapPtr render_source, render_mask, render_dest; PicturePtr render_source_picture, render_mask_picture, render_dest_picture; - uint32_t render_source_solid; - uint32_t render_mask_solid; + CARD32 render_source_solid; + CARD32 render_mask_solid; Bool render_source_is_solid; Bool render_mask_is_solid; Bool needs_render_state_emit; |