win: add comment mentioning the NVIDIA bug

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-03-17 03:47:44 +00:00
parent aa742146f1
commit 1b955cabc5
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 1 additions and 0 deletions

View File

@ -227,6 +227,7 @@ bool win_bind_image(session_t *ps, win *w) {
bool win_try_rebind_image(session_t *ps, win *w) {
log_trace("Freeing old window image");
// Must release first, otherwise breaks NVIDIA driver
win_release_image(ps->backend_data, w);
return win_bind_image(ps, w);