Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vblank: be more defensive against NVIDIA
There is a bug in the NVIDIA driver that it sometimes does not store msc into the pointer we passed to glXWaitVideoSyncSGI, leaving `last_msc` uninitialized. This change makes sure `last_msc` is always initialized regardless of this bug. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
- Loading branch information
01b6766
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cubanismo hi, since you said in the past we can ping you, i am taking you up on that :)
so yeah, basically what the commit message says,
glXWaitVideoSyncSGI
sometimes does not store intocount
pointer, generally this happens when the monitor is turned off. could this be a nvidia driver bug?would appreciate if you can have a look.