TODO: glx: meson: build dri based glx tests, only with -Dglx=dri
[mesa.git] / src / glx / create_context.c
index a755e83f44820f039435ef3219ad68d413bc1920..38e949ab4cd94e09d4574710fdadac05a4328ce0 100644 (file)
@@ -84,7 +84,9 @@ glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config,
 #ifdef GLX_USE_APPLEGL
       gc = applegl_create_context(psc, cfg, share, 0);
 #else
-      gc = indirect_create_context(psc, cfg, share, 0);
+      gc = indirect_create_context_attribs(psc, cfg, share, num_attribs,
+              (const uint32_t *) attrib_list,
+              &dummy_err);
 #endif
    }