mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 798053 - Do a more accurate test for the return value of Scale(). r=gw280
--HG-- extra : rebase_source : c26a57f060f172e9b7864eef69fa782064b4fae5
This commit is contained in:
parent
155b4147de
commit
0cddcc1188
@ -44,7 +44,7 @@ bool Scale(uint8_t* srcData, int32_t srcWidth, int32_t srcHeight, int32_t srcStr
|
||||
dstWidth, dstHeight,
|
||||
dstData);
|
||||
|
||||
return result.readyToDraw();
|
||||
return !result.isNull();
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user