diff options
author | Michel Daenzer <michel@daenzer.net> | 2003-02-02 03:06:47 +0000 |
---|---|---|
committer | Michel Daenzer <michel@daenzer.net> | 2003-02-02 03:06:47 +0000 |
commit | c7d471b6ae936127311a816a8d15b4565746af48 (patch) | |
tree | b5c5047f5852da807a7010db82f600e06e891c69 /libdrm | |
parent | 9b9b099471580616e1685bae725f2c297179ae99 (diff) |
don't inflate relative vblank sequence numbers on repeated calls (e.g. when
interrupted by a signal)
Diffstat (limited to 'libdrm')
-rw-r--r-- | libdrm/xf86drm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c index 6c830664..d250365e 100644 --- a/libdrm/xf86drm.c +++ b/libdrm/xf86drm.c @@ -1105,6 +1105,7 @@ int drmWaitVBlank(int fd, drmVBlankPtr vbl) do { ret = ioctl(fd, DRM_IOCTL_WAIT_VBLANK, vbl); + vbl->request.type &= ~DRM_VBLANK_RELATIVE; } while (ret && errno == EINTR); return ret; |