diff options
| author | Andre Weissflog <floooh@gmail.com> | 2024-07-28 13:29:47 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2024-07-28 13:29:54 +0200 |
| commit | 6bd89f5e683a64021d0568b778004d77574e9760 (patch) | |
| tree | 032979ed835bf2fdb896fd3b43fd9fe713b481e7 /README.md | |
| parent | 6f8121e6aa523b0c0a3e9d7212073bab9a885e15 (diff) | |
sokol_gfx.h gl: implement workaround for Chrome v127 regression (fixes #1085)
Works around a Chrome 127 and Safari Tech Preview regression on macOS
which broke sokol-gfx offscreen rendering. The bug is triggered
by setting the MAX_TEXTURE_LEVEL, but not calling glTexStorage
to allocate storage for immutable textures.
The workaround calls glTexStorage, but currently only on Emscripten.
A proper fix would be to rewrite texture initialization to generally
use glTexStorage + glTexSubImage, but this requires a fallback for
macOS because GL 4.1 doesn't have the glTexStorage call yet.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions