summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-10-22 17:39:03 +0200
committerNicolai Hähnle <[email protected]>2017-11-09 14:20:58 +0100
commit46444613cfc46e71f3b875b9a202e0f60ba79cfd (patch)
tree29d84f829d7a5cea988799c5ca6fedf8604d2dd0 /src/mesa/main/context.c
parentfbda7958ff21ab8595ca7d601df6cf033a7eabf7 (diff)
mesa: increase MaxServerWaitTimeout
The current value was introduced in commit a27180d0d8666, which claims that it represents ~1.11 years. However, it is interpreted in nanoseconds, so it actually only represents ~9.8 hours. That seems a bit short. Use the largest value consistent with both int32 and int64. It corresponds to ~292 years in nanoseconds. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 6d24b93c192..61099eb39f2 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -654,7 +654,7 @@ _mesa_init_constants(struct gl_constants *consts, gl_api api)
consts->UniformBooleanTrue = FLOAT_AS_UNION(1.0f).u;
/* GL_ARB_sync */
- consts->MaxServerWaitTimeout = 0x1fff7fffffffULL;
+ consts->MaxServerWaitTimeout = 0x7fffffff7fffffffULL;
/* GL_EXT_provoking_vertex */
consts->QuadsFollowProvokingVertexConvention = GL_TRUE;