This fixes a mismerge by @elmindreda in 65748fb8f3. (cherry picked from commit efda4afb49)
65748fb8f3
efda4afb49
The command buffer handle was not reset after being freed on window resize, leading to a segfault when the stale handle was used. (cherry picked from commit 65748fb8f3)
Fixes #1477. (cherry picked from commit d834f01ca4)
d834f01ca4