[PATCH 0/1] MR1420: winex11: Print a winediag err if XComposite is missing.
From: Zebediah Figura <zfigura(a)codeweavers.com> --- dlls/winex11.drv/opengl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 2acf9db5372..c74c317f6ff 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -1350,7 +1350,11 @@ static struct gl_drawable *create_gl_drawable( HWND hwnd, const struct wgl_pixel #endif else { - WARN("XComposite is not available, using GLXPixmap hack\n"); + static unsigned int once; + + if (!once++) + ERR_(winediag)("XComposite is not available, using GLXPixmap hack.\n"); + WARN("XComposite is not available, using GLXPixmap hack.\n"); gl->type = DC_GL_PIXMAP_WIN; gl->pixmap = XCreatePixmap( gdi_display, root_window, width, height, visual->depth ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/1420
participants (2)
-
Zebediah Figura -
Zebediah Figura (@zfigura)