Implement the API entry points for fence sync objects in GLES 3.
TRAC #23446
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Authored-by: Jamie Madill
diff --git a/src/libGLESv2/Context.cpp b/src/libGLESv2/Context.cpp
index 5571a6b..7fdb9c9 100644
--- a/src/libGLESv2/Context.cpp
+++ b/src/libGLESv2/Context.cpp
@@ -1915,8 +1915,8 @@
}
break;
case GL_MAX_SERVER_WAIT_TIMEOUT:
- // Can return an arbitrary value (nanoseconds) as we do not perform any blocking, in this case 100 seconds.
- *params = 100ll * 1000ll * 1000ll;
+ // We do not wait for server fence objects internally, so report a max timeout of zero.
+ *params = 0;
break;
default:
return false;