summaryrefslogtreecommitdiffstats
path: root/src/glx/applegl_glx.c
diff options
context:
space:
mode:
authorDaniel Manjarres <[email protected]>2014-06-22 09:47:58 -0700
committerBrian Paul <[email protected]>2014-10-13 22:05:58 -0600
commit291be28476ea60c6fb1eb2a882e2e25def5d3735 (patch)
tree37a44d8c091e6dd87433dd9eb53a01640d1ed89d /src/glx/applegl_glx.c
parent4e2cf84b1f5fd9f52dd1a12947a405a25d1e2137 (diff)
glx: Fix glxUseXFont for glxWindow and glxPixmaps
The current implementation of glxUseXFont requires creating a temporary pixmap and graphics context, which requires a real old-school X11 Window, not a glxDrawable. This patch changes things so that glxUseXFont will also accept a glxWindow or glxPixmap, and lookup the underlying X11 Drawable. Without this patch glxUseXFont generates a giant stream of Xerrors about bad drawables and bad graphics contexts. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54372 Cc: [email protected] Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glx/applegl_glx.c')
0 files changed, 0 insertions, 0 deletions