win: add comment mentioning the NVIDIA bug
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
aa742146f1
commit
1b955cabc5
|
@ -227,6 +227,7 @@ bool win_bind_image(session_t *ps, win *w) {
|
||||||
|
|
||||||
bool win_try_rebind_image(session_t *ps, win *w) {
|
bool win_try_rebind_image(session_t *ps, win *w) {
|
||||||
log_trace("Freeing old window image");
|
log_trace("Freeing old window image");
|
||||||
|
// Must release first, otherwise breaks NVIDIA driver
|
||||||
win_release_image(ps->backend_data, w);
|
win_release_image(ps->backend_data, w);
|
||||||
|
|
||||||
return win_bind_image(ps, w);
|
return win_bind_image(ps, w);
|
||||||
|
|
Loading…
Reference in New Issue