Commit 6d8241c8 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winex11: Print a winediag err if XComposite is missing.

parent 7926253d
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment