mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
gfx: relax DrawTargetCairo::IsValid() check, fixes crash when loading spectrumsurveys.com
This commit is contained in:
parent
fbb39ce322
commit
10b96192dd
1 changed files with 1 additions and 1 deletions
|
|
@ -623,7 +623,7 @@ bool
|
||||||
DrawTargetCairo::IsValid() const
|
DrawTargetCairo::IsValid() const
|
||||||
{
|
{
|
||||||
return mSurface && !cairo_surface_status(mSurface) &&
|
return mSurface && !cairo_surface_status(mSurface) &&
|
||||||
mContext && !cairo_surface_status(cairo_get_group_target(mContext));
|
mContext /*&& !cairo_surface_status(cairo_get_group_target(mContext))*/;
|
||||||
}
|
}
|
||||||
|
|
||||||
DrawTargetType
|
DrawTargetType
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue