aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-12-27 20:59:26 +0000
committerMarge Bot <[email protected]>2020-01-22 17:55:26 +0000
commit7d7d1da1ac4b02c92da1624d3eb16004268dabac (patch)
tree8e6d7950d7757885be377590c084847bd1d1501c /src
parent15a1cc00d38db084b41d7ae7907aa0b0c22f2099 (diff)
egl: drop confusing mincore() error message
A user came to me asking how to fix this error, but it's entirely expected that `get_wl_surface_proxy()` on recent enough wayland compositors will always print it. Let's just remove the message altogether, it is basically never useful. Reviewed-by: Matt Turner <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3219> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3219>
Diffstat (limited to 'src')
-rw-r--r--src/egl/main/eglglobals.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/egl/main/eglglobals.c b/src/egl/main/eglglobals.c
index 5760edc3d3c..8a8c03c924f 100644
--- a/src/egl/main/eglglobals.c
+++ b/src/egl/main/eglglobals.c
@@ -38,7 +38,6 @@
#include "egldevice.h"
#include "egldisplay.h"
#include "egldriver.h"
-#include "egllog.h"
#include "util/macros.h"
@@ -173,7 +172,6 @@ _eglPointerIsDereferencable(void *p)
addr &= ~(page_size - 1);
if (mincore((void *) addr, page_size, &valid) < 0) {
- _eglLog(_EGL_DEBUG, "mincore failed: %m");
return EGL_FALSE;
}