mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 898768 - Make CRC2D::IsTargetValid also check for null r=mattwoodrow
This commit is contained in:
parent
232c9b9184
commit
be97cbc720
@ -545,7 +545,7 @@ protected:
|
||||
/**
|
||||
* Check if the target is valid after calling EnsureTarget.
|
||||
*/
|
||||
bool IsTargetValid() { return mTarget != sErrorTarget; }
|
||||
bool IsTargetValid() { return mTarget != sErrorTarget && mTarget != nullptr; }
|
||||
|
||||
/**
|
||||
* Returns the surface format this canvas should be allocated using. Takes
|
||||
|
Loading…
Reference in New Issue
Block a user