preliminary compatibility for gint 2.8

This commit is contained in:
Lephenixnoir 2022-05-06 18:38:34 +01:00
parent 4772371c62
commit 89312683fa
Signed by untrusted user: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 2 additions and 2 deletions

View File

@ -1320,7 +1320,7 @@ void drawDecoration( uint16_t index )
int X = circuit[index]->X + circuit[index]->CumulatedCurve - 1.5*circuit[index]->W - image->width/2;
int Y = circuit[index]->Y - image->height;
dimage( X, Y, image );
dimage_p4_clearbg_alt( X, Y, image, 0, image->alpha );
}
deco = circuit[index]->RDeco;
@ -1332,7 +1332,7 @@ void drawDecoration( uint16_t index )
int X = circuit[index]->X + circuit[index]->CumulatedCurve + 1.5*circuit[index]->W - image->width/2;
int Y = circuit[index]->Y - image->height;
dimage( X, Y, image );
dimage_p4_clearbg_alt( X, Y, image, 0, image->alpha );
}
}