diff options
| author | Andre Weissflog <floooh@gmail.com> | 2021-10-08 18:26:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-08 18:26:43 +0200 |
| commit | 66a9c8803b3eca7cceb342a4fab7b5aeb855e50d (patch) | |
| tree | ceebbe0bbd6cd6381332f53ad365dca9a3e1f804 /README.md | |
| parent | f84a68af1362493331678f9158d6ec06474b16e0 (diff) | |
Revisit compressed texture support in sokol_gfx.h (#569)
- tighter validation checks on texture creation:
- content data validation now also happens in ```sg_make_image()``` (previously only in ```sg_update_image()```)
- validate that compressed textures are immutable
- separate "no data" validation checks for immutable vs dynamic/stream textures
- provided data size for creating or updating textures must match the expected surface sizez exactly
- fix PVRTC row and surface pitch computation according to the GL PVRTC extension spec
- better adhere to Metal documentation for the ```MTLTexture.replaceRegion``` parameters (when bytesPerImage is expected to be zero or not)
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ 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) (**02-Sep-2021** sokol_app.h: new FOCUSED/UNFOCUSED event and better keycode handling in the Emscripten backend) +[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**08-Oct-2021** revisited and cleaned up texture compression support in sokol_gfx.h) ## Examples and Related Projects |