From 0685c7afd6f1d0154aa7a0d3c41262a85ade3268 Mon Sep 17 00:00:00 2001 From: Carter Date: Thu, 15 Jun 2023 13:12:10 +0000 Subject: [PATCH] OpenGL (FreeBSD): remove possible error messages --- src/detection/opengl/opengl_linux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/detection/opengl/opengl_linux.c b/src/detection/opengl/opengl_linux.c index 8a274e68f..e1127700b 100644 --- a/src/detection/opengl/opengl_linux.c +++ b/src/detection/opengl/opengl_linux.c @@ -30,6 +30,8 @@ static const char* glHandleResult(FFOpenGLResult* result, const GLData* data) #endif // FF_HAVE_GL #ifdef FF_HAVE_EGL +#include "common/io/io.h" + #include typedef struct EGLData @@ -133,6 +135,7 @@ static const char* eglPrint(FFinstance* instance, FFOpenGLResult* result) FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(egl, eglData, eglDestroySurface); FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(egl, eglData, eglTerminate); + FF_SUPPRESS_IO(); return eglHandleData(result, &eglData); }