Closed leroycep closed 4 years ago
This breaks on macOS because winit
doesn't send an initial Refresh
event there.
Hmm, I can't find anything that looks like a "window shown" event. I think I'll move the rendering code again, and then use boolean to indicate that the screen needs to be redrawn.
@bors-servo: r+
:pushpin: Commit 263dc0a has been approved by pcwalton
:hourglass: Testing commit 263dc0ab15cbf2230622c7388fec57aee034dd6c with merge 953a1dab607546ea5fa04d5358f1fd17fd12ca9a...
:sunny: Test successful - checks-travis Approved by: pcwalton Pushing 953a1dab607546ea5fa04d5358f1fd17fd12ca9a to master...
I'm not sure if this actually works, because the
canvas_minimal
example doesn't run on my computer.