servo / pathfinder

A fast, practical GPU rasterizer for fonts and vector graphics
Apache License 2.0
3.62k stars 206 forks source link

Make `canvas_text` example render on expose #402

Closed leroycep closed 4 years ago

leroycep commented 4 years ago

Before this change, the canvas_text example would become blank after navigating to another workspace or being put beneath another window. This change will listen for the SDL window exposed event, and will render then instead of only at the beginning.

pcwalton commented 4 years ago

@bors-servo: r+

bors-servo commented 4 years ago

:pushpin: Commit f0ee329 has been approved by pcwalton

bors-servo commented 4 years ago

:hourglass: Testing commit f0ee329c05352d24863851a5250d608dcd595630 with merge 448ede2b1f6b4fc2ab9dc210aa7f6a88b65fc4c3...

bors-servo commented 4 years ago

:sunny: Test successful - checks-travis Approved by: pcwalton Pushing 448ede2b1f6b4fc2ab9dc210aa7f6a88b65fc4c3 to master...