aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/present/present_fake.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-11-21 08:43:25 +0100
committermarha <marha@users.sourceforge.net>2013-11-21 08:43:25 +0100
commitbb953a87489963f63e65c797a1f2837382ff7808 (patch)
tree458f44ffc1539fad170d96a414970a42b75d1190 /xorg-server/present/present_fake.c
parent73db05c85f7a8cf2439f7c333ede6ff2dc4877d7 (diff)
downloadvcxsrv-bb953a87489963f63e65c797a1f2837382ff7808.tar.gz
vcxsrv-bb953a87489963f63e65c797a1f2837382ff7808.tar.bz2
vcxsrv-bb953a87489963f63e65c797a1f2837382ff7808.zip
xserver mesa git update 21 nov 2013
xserver commit 6403cbb143c67872ca9c58e3116ae7942def0ae1 mesa commit b7c0b61782251c1dedb0b0fb0e6654af81249910
Diffstat (limited to 'xorg-server/present/present_fake.c')
-rw-r--r--xorg-server/present/present_fake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/present/present_fake.c b/xorg-server/present/present_fake.c
index a67759254..e550e98f8 100644
--- a/xorg-server/present/present_fake.c
+++ b/xorg-server/present/present_fake.c
@@ -42,7 +42,7 @@ present_fake_get_ust_msc(ScreenPtr screen, uint64_t *ust, uint64_t *msc)
present_screen_priv_ptr screen_priv = present_screen_priv(screen);
*ust = GetTimeInMicros();
- *msc = *ust / screen_priv->fake_interval;
+ *msc = (*ust + screen_priv->fake_interval / 2) / screen_priv->fake_interval;
return Success;
}