summaryrefslogtreecommitdiff
path: root/src/glut/directfb/callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/directfb/callback.c')
-rw-r--r--src/glut/directfb/callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/directfb/callback.c b/src/glut/directfb/callback.c
index 4f23441167..7c9768aac0 100644
--- a/src/glut/directfb/callback.c
+++ b/src/glut/directfb/callback.c
@@ -278,7 +278,7 @@ __glutGetTimeout( int *ret_msec )
gettimeofday( &now, NULL );
*ret_msec = (time->tv_sec - now.tv_sec) * 1000 +
- (time->tv_usec - now.tv_usec + 500) / 1000;
+ (time->tv_usec - now.tv_usec + 999) / 1000;
return GL_TRUE;
}