mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:39:34 +00:00
winex11: Print a winediag err if XComposite is missing.
This commit is contained in:
parent
7926253d82
commit
6d8241c80b
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue