Commit c3ad841b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

GLX: uses Xlib, needs XInitThreads()

parent b64885ef
......@@ -201,6 +201,9 @@ static int CreateWindow (vout_display_t *vd, xcb_connection_t *conn,
*/
static int Open (vlc_object_t *obj)
{
if (!XInitThreads ())
return VLC_EGENERIC;
vout_display_t *vd = (vout_display_t *)obj;
vout_display_sys_t *sys = malloc (sizeof (*sys));
......
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