hw/display/sm501: Add fallbacks to pixman routines
commitc09b5158e17f7112678a9d80e13419195e45dba8
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 25 Feb 2023 21:35:28 +0000 (25 22:35 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (27 22:29 +0100)
treea22932f964ae1fbaf1cae897373bcf3975158b48
parent8b0ce7f7c8c71883d2bbcb906469eb60497dfa07
hw/display/sm501: Add fallbacks to pixman routines

Pixman may return false if it does not have a suitable implementation.
Add fallbacks to handle such cases.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reported-by: Rene Engel <ReneEngel80@emailn.de>
Tested-by: Rene Engel <ReneEngel80@emailn.de>
Message-Id: <20ed9442a0146238254ccc340c0d1efa226c6356.1677445307.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/display/sm501.c