diff options
| author | Andre Weissflog <floooh@gmail.com> | 2024-09-02 14:37:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-02 14:37:10 +0200 |
| commit | c28138a2103b09a6545868d4bd271277170a1165 (patch) | |
| tree | ad5ba6d7be1b4fbba6c21b026d6dbccdd0464c18 /CHANGELOG.md | |
| parent | ec18cd9eacde0cf641f3403eaaeac123e6155ff8 (diff) | |
| parent | 19004d3f7cd1a087915b3de706b6bb00ab3eb4bc (diff) | |
Merge pull request #1103 from floooh/issue929_remove_filter_none
sokol_gfx.h: remove SG_FILTER_NONE (fixes #929)
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c2a014b0..0ac821b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ ## Updates +### 02-Sep-2024 + +- Minor breaking change in sokol_gfx.h: The enum item `SG_FILTER_NONE` has been + removed. Until around Oct-2023 this was required to be used as mip-filter + on textures without mipmaps because of an unnecessary restriction in the + GL backend (see https://github.com/floooh/sokol/issues/929 for details). + The concept of a 'none' mipmap filter never mapped to some 3D backends + (specifically D3D11 and WebGPU). + If you are currently creating samplers with `.mipmap_filter = SG_FILTER_NONE` + you can simply remove that line. The new default value is `SG_FILTER_NEAREST`. + To restrict mipmap sampling access to a specific mipmap (or mipmap range), + use the `.min_lod` and `.max_lod` items in struct `sg_sampler_desc`. + + The change has been implemented in PR https://github.com/floooh/sokol/pull/1103. + ### 01-Sep-2024 - sokol_gfx.h d3d11: added a new configuration flag `d3d11_shader_debugging` |