Change return statements to fix compiler errors: "fbcompose.c", line 2815:
void function cannot return value "fbcompose.c", line 2861: void function cannot return value
This commit is contained in:
parent
a9d820b454
commit
f58a54668b
|
@ -2811,8 +2811,10 @@ static void fbFetchExternalAlpha(PicturePtr pict, int x, int y, int width, CARD3
|
|||
int i;
|
||||
CARD32 alpha_buffer[SCANLINE_BUFFER_LENGTH];
|
||||
|
||||
if (!pict->alphaMap)
|
||||
return fbFetchTransformed(pict, x, y, width, buffer);
|
||||
if (!pict->alphaMap) {
|
||||
fbFetchTransformed(pict, x, y, width, buffer);
|
||||
return;
|
||||
}
|
||||
|
||||
fbFetchTransformed(pict, x, y, width, buffer);
|
||||
fbFetchTransformed(pict->alphaMap, x - pict->alphaOrigin.x, y - pict->alphaOrigin.y, width, alpha_buffer);
|
||||
|
@ -2857,8 +2859,10 @@ static void fbStoreExternalAlpha(PicturePtr pict, int x, int y, int width, CARD3
|
|||
miIndexedPtr indexed = (miIndexedPtr) pict->pFormat->index.devPrivate;
|
||||
miIndexedPtr aindexed;
|
||||
|
||||
if (!pict->alphaMap)
|
||||
return fbStore(pict, x, y, width, buffer);
|
||||
if (!pict->alphaMap) {
|
||||
fbStore(pict, x, y, width, buffer);
|
||||
return;
|
||||
}
|
||||
|
||||
store = storeProcForPicture(pict);
|
||||
astore = storeProcForPicture(pict->alphaMap);
|
||||
|
|
Loading…
Reference in New Issue