aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_entrypoints_gen.py
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2019-09-19 13:27:08 -0400
committerAdam Jackson <[email protected]>2019-09-19 21:06:01 -0400
commit88b8922f57137e75c8ea48969e27a8275adbdf5a (patch)
treedb930996e016e1f99bfbc1d8e29a3abe4baa4a57 /src/intel/vulkan/anv_entrypoints_gen.py
parentb4fe0b3ffd825284aa57072c67a019fbc1bf4a1b (diff)
glx: Fix drawable lookup bugs in glXUseXFont
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. Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/89 LOLed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_entrypoints_gen.py')
0 files changed, 0 insertions, 0 deletions