sna/glyphs: Prevent NULL vfunc deref with glyphs
Requires running a PRIME setup with Intel loaded as the secondary GPU and attempting to execute an empty glyph string. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
faf0bdd477
commit
07fe45b84b
|
|
@ -727,7 +727,7 @@ next_glyph:
|
|||
}
|
||||
list++;
|
||||
}
|
||||
if (glyph_atlas)
|
||||
if (glyph_atlas != NO_ATLAS)
|
||||
tmp.done(sna, &tmp);
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue