diff options
Diffstat (limited to 'glx')
-rw-r--r-- | glx/glxdri2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/glx/glxdri2.c b/glx/glxdri2.c index be5afbce4..f3e26b773 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c @@ -393,7 +393,8 @@ __glXDRIscreenDestroy(__GLXscreen * baseScreen) } static Bool -dri2_convert_glx_attribs(unsigned num_attribs, const uint32_t *attribs, +dri2_convert_glx_attribs(__GLXDRIscreen *screen, unsigned num_attribs, + const uint32_t *attribs, unsigned *major_ver, unsigned *minor_ver, uint32_t *flags, int *api, int *reset, unsigned *error) { @@ -516,7 +517,7 @@ create_driver_context(__GLXDRIcontext * context, int api; if (num_attribs != 0) { - if (!dri2_convert_glx_attribs(num_attribs, attribs, + if (!dri2_convert_glx_attribs(screen, num_attribs, attribs, &major_ver, &minor_ver, &flags, &api, &reset, (unsigned *) error)) |