|
@@ -1,5 +1,20 @@
|
|
|
## Updates
|
|
|
|
|
|
+- **05-Nov-2022** A breaking change in sokol_fetch.h, and a minor change in
|
|
|
+ sokol_app.h which should only break for very users:
|
|
|
+ - An ```sfetch_range_t``` ptr/size pair struct has been added to sokol_fetch.h,
|
|
|
+ and discrete ptr/size pairs have been replaced with sfetch_range_t
|
|
|
+ items. This affects the structs ```sfetch_request_t``` and ```sfetch_response_t```,
|
|
|
+ and the function ```sfetch_bind_buffer()```.
|
|
|
+ - The required changes in ```sfetch_response_t``` might be a bit non-obviois: To
|
|
|
+ access the fetched data, previous ```.buffer_ptr``` and ```.fetched_size```
|
|
|
+ was used. The fetched data is now accessible through an ```sfetch_range_t data```
|
|
|
+ item (```data.ptr``` and ```data.size```). The old ```.fetched_offset``` item
|
|
|
+ has been renamed to ```.data_offset``` to better conform with the new naming.
|
|
|
+ - The last two occurances of discrete ptr/size pairs in sokol_app.h now have also
|
|
|
+ been replaced with ```sapp_range_t``` items, this only affects the structs
|
|
|
+ ```sapp_html5_fetch_request``` and ```sapp_html5_fetch_response```.
|
|
|
+
|
|
|
- **03-Nov-2022** The language bindings generation has been updated for Zig 0.10.0,
|
|
|
and clang-14 (there was a minor change in the JSON ast-dump format).
|
|
|
Many thanks to github user @kcbanner for the Zig PR!
|