summaryrefslogtreecommitdiff
path: root/opengl
diff options
context:
space:
mode:
author Abdelrahman Daim <adaim@meta.com> 2024-09-25 03:13:55 -0700
committer Abdelrahman Daim <adaim@meta.com> 2024-09-25 10:15:03 +0000
commit20d7badfa9ef5cfe7804930d1a7347941f104b0d (patch)
treeca270e6990872890ea236871a7da503883ec65cb /opengl
parentcfe1e76d5cd02c691a5fc802192b76edb1dc65ef (diff)
Suppress logcat error messages when frame timestamp is not found
Summary: It is normal that the frame timestamp is not available when the query is performed. While printing a logcat error message for every failure would spam the log, suppress it. Test: Successful Build on master branch Change-Id: I19873b093283c1793467a66658cd06d2c4e988d5 Signed-off-by: Abdelrahman Daim <adaim@meta.com>
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/EGL/egl_platform_entries.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/egl_platform_entries.cpp b/opengl/libs/EGL/egl_platform_entries.cpp
index a6af713830..ca4b129f43 100644
--- a/opengl/libs/EGL/egl_platform_entries.cpp
+++ b/opengl/libs/EGL/egl_platform_entries.cpp
@@ -2375,7 +2375,7 @@ EGLBoolean eglGetFrameTimestampsANDROIDImpl(EGLDisplay dpy, EGLSurface surface,
case 0:
return EGL_TRUE;
case -ENOENT:
- return setError(EGL_BAD_ACCESS, (EGLBoolean)EGL_FALSE);
+ return setErrorQuiet(EGL_BAD_ACCESS, (EGLBoolean)EGL_FALSE);
case -ENOSYS:
return setError(EGL_BAD_SURFACE, (EGLBoolean)EGL_FALSE);
case -EINVAL: