st/xorg: Source-only pictures always have format PICT_a8r8g8b8.
authorMichel Dänzer <daenzer@vmware.com>
Fri, 25 Sep 2009 18:38:49 +0000 (20:38 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Fri, 25 Sep 2009 18:38:49 +0000 (20:38 +0200)
commit7edda9350acbf84b63ad67af8053fb07785637cb
tree00e13a98e7204dc9af589ebd4cc962618291b28b
parent07f107467ed1e301b1362298c350ff3758a1f22f
st/xorg: Source-only pictures always have format PICT_a8r8g8b8.

See xserver/render/picture.c:createSourcePicture(). This both simplifies the
code and avoids a crash because pFormat is NULL.
src/gallium/state_trackers/xorg/xorg_composite.c