aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md12
-rw-r--r--README.md4
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,
diff --git a/README.md b/README.md
index 67688396..87eda8d5 100644
--- a/README.md
+++ b/README.md
@@ -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)
[![Build](/../../actions/workflows/main.yml/badge.svg)](/../../actions/workflows/main.yml) [![Bindings](/../../actions/workflows/gen_bindings.yml/badge.svg)](/../../actions/workflows/gen_bindings.yml) [![build](https://github.com/floooh/sokol-zig/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-zig/actions/workflows/main.yml) [![build](https://github.com/floooh/sokol-nim/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-nim/actions/workflows/main.yml) [![Odin](https://github.com/floooh/sokol-odin/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-odin/actions/workflows/main.yml)