diff options
| author | Andre Weissflog <floooh@gmail.com> | 2020-05-02 17:41:06 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2020-05-02 17:41:06 +0200 |
| commit | 21f3e4ad90fd36ad35faa77e5fb29ccccc85adc2 (patch) | |
| tree | d1f71dfaf2dd3a2a3be05e8e998d977cc01a5d9b /README.md | |
| parent | 5402ecc84b3b0e1355d121c121a721717853d5dd (diff) | |
fix the README's What's New section
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -460,14 +460,15 @@ Mainly some "missing features" for desktop apps: # Updates -- **02-May-2020**: Added optional "shutdown support" to the HTML5/WASM code path in -sokol_app.h. Thanks to @caiiiycuk for the PR! - - Must be enabled on startup by setting the new ```sapp_desc.html5_enable_shutdown``` - initialization parameter to ```true```. - - Calling ```sapp_quit()``` was formerly a no-op on the web platform, now this - causes a similar shutdown behaviour as on other platforms: the sokol-app - cleanup callback will be called, after that platform-specific cleanup - code, and finally the frame loop will be exited. +- **02-May-2020**: sokol_app.h: the 'programmatic quit' behaviour on the +web-platform is now more in line with other platforms: calling +```sapp_quit()``` will invoke the cleanup callback function, perform +platform-specific cleanup (like unregistering JS event handlers), and finally +exit the frame loop. In typical scenarios this isn't very useful (because +usually the user will simply close the tab, which doesn't allow to run +cleanup code), but it's useful for situations where the same +code needs to run repeatedly on a web page. Many thanks to @caiiiycuk +for providing the PR! - **30-Apr-2020**: experimental WebGPU backend and a minor breaking change: - sokol_gfx.h: a new WebGPU backend, expect frequent breakage for a while |