Commit b9c7f59d authored by Adam Jackson's avatar Adam Jackson

glx: Fix fbconfig matching in glx-make-glxdrawable-current

The ad-hoc attributes we were asking for here are not necessarily going
to match what piglit_get_glx_visual would pick. Instead look it up using
piglit_glx_get_fbconfig_for_visinfo, that's why we have it.
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <michel@daenzer.net>
Tested-by: Michel Dänzer's avatarMichel Dänzer <michel@daenzer.net>
parent 76580d07
Pipeline #58380 passed with stage