aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md15
-rw-r--r--README.md2
2 files changed, 16 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d73e84c8..9ab25067 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`
diff --git a/README.md b/README.md
index c7dad0d2..cf4cab0b 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
# Sokol
-[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**24-Jul-2024**: sokol_gfx.h WebGL2: important workaround for recent Chrome 127 regression on macOS)
+[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**02-Sep-2024** in sokol_gfx.h, SG_FILTER_NONE has been removed)
[![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)[![Rust](https://github.com/floooh/sokol-rust/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-rust/actions/workflows/main.yml)[![Dlang](https://github.com/kassane/sokol-d/actions/workflows/build.yml/badge.svg)](https://github.com/kassane/sokol-d/actions/workflows/build.yml)