diff options
| author | Andre Weissflog <floooh@gmail.com> | 2026-02-08 15:43:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-08 15:43:39 +0100 |
| commit | d48aa2ff673af2d6b981032dd43766ab15689163 (patch) | |
| tree | 6294e28de27159e71465eead68d349e1b2c34caa /CHANGELOG.md | |
| parent | f693b9e646d2cc46132a6bcbfc6b43f4c165fce8 (diff) | |
| parent | c3101666c29bd23afd443cf407d4009bd7c3e290 (diff) | |
Merge pull request #1438 from floooh/issue1437/ios_pass_dimensions
sokol_app.h ios/mtl: Fix drawable size mismatch assert on rotate
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 02789ce3..ec7486c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ ## Updates +### 08-Feb-2026 + +- sokol_app.h ios/mtl: Fix a spurious assert when applying scissor rect after + rotating the device and which might lead to a drawable-size mismatch. This + doesn't appear to be 100% watertight but works much better than + before. The assert might be the result of a behaviour change in MTKView + between iOS versions (which tbh wouldn't be the first time this happened). + A 'perfect' solution will need to wait until the next round of iOS/macOS + window system glue updates which will finally get rid of MTKView and instead + use `CAMetalLayer` and `CADisplayLink` directly. Until then it's definitely + recommended to disable display rotation for your application via the Info.plist + file. Many thanks to @ArMuSebastian for writing the issue and providing + a simple reproducer. + + Issue: https://github.com/floooh/sokol/issues/1437 + PR: https://github.com/floooh/sokol/pull/1438 + ### 03-Feb-2026 - sokol_gfx.h vulkan: another round of small fixes and code cleanups in the |