mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 23:21:08 +03:00
503d3df368
OpenGL will silently let us allocate a texture larger than the GPU can bind to a sampler, reporting the error status out of band and leaving the display in a perma-broken state. This commit deliberately checks against the max texture size and raises an error in that case. The recovery story isn't perfect, but at least the texture remains usable, so the user can clear the screen and still be able to see glyphs afterwards. refs: https://github.com/wez/wezterm/issues/879 |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |