diff options
| author | Andre Weissflog <floooh@gmail.com> | 2022-10-21 19:10:05 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2022-10-21 19:10:05 +0200 |
| commit | 2057da7e15367ba9cf1deee82f8660a19aefe154 (patch) | |
| tree | b9d152e6e69bcc645995436a46a26f2cfe45a731 | |
| parent | dae87c2ab586e77abb50095dd3aa558852cd2949 (diff) | |
update changelog (RGB9E5 in sokol_gfx.h and GLES2-vs-GLES3 fix in sokol_app.h android
| -rw-r--r-- | CHANGELOG.md | 12 | ||||
| -rw-r--r-- | README.md | 4 |
2 files changed, 14 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index bd366ed6..8f8d79ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ ## Updates +- **21-Oct-2022** RGB9E5 pixel format support in sokol_gfx.h and a GLES2 related + bugfix in the sokol_app.h Android backend: + - sokol_gfx.h now supports RGB9E5 textures (3*9 bit RGB + 5 bit shared exponent), + this works in all backends except GLES2 and WebGL1 (use ```sg_query_pixelformat()``` + to check for runtime support). Many thanks to github user @allcreater for the PR! + - a bugfix in the sokol_app.h Android backend: when forcing a GLES2 context via + sapp_desc.gl_force_gles2, the Android backend correctly created a GLES2 context, + but then didn't communicate this through the function ```sapp_gles2()``` (which + still returned false in this case). This caused the sokol_gfx.h GL backend to + use the GLES3 code path instead GLES2 (which surprisingly seemed to have worked + fine, at least for the sokol samples which force GLES2). + - **19-Oct-2022** Some fixes in the embedded Javascript code blocks (via EM_JS) in sokol_app.h, sokol_args.h, sokol_audio.h and sokol_fetch.h: - the JS code has been 'modernized' (e.g. const and let instead of var, @@ -4,8 +4,8 @@ Simple [STB-style](https://github.com/nothings/stb/blob/master/docs/stb_howto.txt) cross-platform libraries for C and C++, written in C. -[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**25-Sep-2022** sokol_app.h: EGL/GLES2/GLES3 -support on Linux) +[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**21-Oct-2022** RGB9E5 pixel format support +in sokol_gfx.h, and a GLES2 vs GLES3 bugfix in the sokol_app.h Android backend) [](/../../actions/workflows/main.yml) [](/../../actions/workflows/gen_bindings.yml) [](https://github.com/floooh/sokol-zig/actions/workflows/main.yml) [](https://github.com/floooh/sokol-nim/actions/workflows/main.yml) [](https://github.com/floooh/sokol-odin/actions/workflows/main.yml) |