diff --git a/src/unix/glegl.cpp b/src/unix/glegl.cpp index 364404bcb5..b191f72df8 100644 --- a/src/unix/glegl.cpp +++ b/src/unix/glegl.cpp @@ -812,7 +812,7 @@ bool wxGLCanvasEGL::SwapBuffers() // Trying to draw on a hidden window is useless and can actually be // harmful if the compositor blocks in eglSwapBuffers() in this // case, so avoid it. - wxLogTrace(TRACE_EGL, "Not drawing hidden window"); + wxLogTrace(TRACE_EGL, "Window %p is hidden, not drawing", this); return false; } } @@ -825,7 +825,7 @@ bool wxGLCanvasEGL::SwapBuffers() // worst if we're called before the window is realized. if ( !m_readyToDraw ) { - wxLogTrace(TRACE_EGL, "Not ready to draw yet"); + wxLogTrace(TRACE_EGL, "Window %p is not not ready to draw yet", this); return false; } @@ -838,7 +838,7 @@ bool wxGLCanvasEGL::SwapBuffers() } #endif // GDK_WINDOWING_WAYLAND - wxLogTrace(TRACE_EGL, "Swapping buffers"); + wxLogTrace(TRACE_EGL, "Swapping buffers for window %p", this); return eglSwapBuffers(m_display, m_surface); }