diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-03-04 09:54:15 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-03-29 10:01:46 -0700 |
commit | 4c8ec49826a46eb3b36c69d2ad3f82320c179c38 (patch) | |
tree | 714d6636c012ad702f7a1fb4a92b2c0305bde519 /hw/xfree86/dri2 | |
parent | c4d54816f2ee4883d8f9bcf4595474fb58c95146 (diff) |
DRI2: make target_sbc signed
We need to track invalid targets as well as 0 targets, so just make it
signed so our comparisons work like they should.
Reviewed-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Reported-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'hw/xfree86/dri2')
-rw-r--r-- | hw/xfree86/dri2/dri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/dri2/dri2.c b/hw/xfree86/dri2/dri2.c index d60bd5e18..ec4f982b4 100644 --- a/hw/xfree86/dri2/dri2.c +++ b/hw/xfree86/dri2/dri2.c @@ -62,7 +62,7 @@ typedef struct _DRI2Drawable { ClientPtr blockedClient; int swap_interval; CARD64 swap_count; - CARD64 target_sbc; /* -1 means no SBC wait outstanding */ + int64_t target_sbc; /* -1 means no SBC wait outstanding */ CARD64 last_swap_target; /* most recently queued swap target */ int swap_limit; /* for N-buffering */ } DRI2DrawableRec, *DRI2DrawablePtr; |