From c40a141792deba08e1a8c25ad06660302a6d97ae Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Sat, 22 Oct 2022 11:55:56 +0000 Subject: [PATCH] Write vsync toggle msg to debug log not OSD Write vsync enable/disable messages to debug log and not the OSD, they are kind of annoying. Signed-off-by: Rafael Kitover --- src/wx/panel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wx/panel.cpp b/src/wx/panel.cpp index 71e7308c..73551e5a 100644 --- a/src/wx/panel.cpp +++ b/src/wx/panel.cpp @@ -2283,18 +2283,18 @@ void GLDrawingPanel::DrawingPanelInit() if (IsItWayland()) { #ifdef HAVE_EGL if (vsync) - systemScreenMessage(_("Enabling EGL VSync.")); + wxLogDebug(_("Enabling EGL VSync.")); else - systemScreenMessage(_("Disabling EGL VSync.")); + wxLogDebug(_("Disabling EGL VSync.")); eglSwapInterval(0, vsync); #endif } else { if (vsync) - systemScreenMessage(_("Enabling GLX VSync.")); + wxLogDebug(_("Enabling GLX VSync.")); else - systemScreenMessage(_("Disabling GLX VSync.")); + wxLogDebug(_("Disabling GLX VSync.")); static PFNGLXSWAPINTERVALEXTPROC glXSwapIntervalEXT = NULL; static PFNGLXSWAPINTERVALSGIPROC glXSwapIntervalSGI = NULL;