Skip to content

glx: Fix drawable lookup bugs in glXUseXFont

Adam Jackson requested to merge ajax/mesa:glxusexfont-fix into master

We were using the current drawable of the context to name the appropriate screen for creating the bitmaps. But one, the current drawable can be None, and two, it can be a GLXDrawable. Passing either one as the second argument to XCreatePixmap will throw BadDrawable. Use the root window of the context's screen instead.

Closes: #89 (closed)

Merge request reports

Loading