diff options
author | Adam Jackson <[email protected]> | 2011-06-01 11:33:48 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2011-06-02 15:37:21 -0400 |
commit | 776a2a54473194e2f0926902276a1f880cded91f (patch) | |
tree | 47c11dcb087e584895f69545c2e701d5bf4b2054 | |
parent | bddf275db44695e3850c4b62b8f4b77d93299ae9 (diff) |
glx: Fix another case of using req outside of the display lock
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Adam Jackson <[email protected]>
-rw-r--r-- | src/glx/glxcmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index dbfa0edff98..8b4151d0b4b 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -644,13 +644,13 @@ glXCreateGLXPixmap(Display * dpy, XVisualInfo * vis, Pixmap pixmap) if (psc->driScreen == NULL) break; config = glx_config_find_visual(psc->visuals, vis->visualid); - pdraw = psc->driScreen->createDrawable(psc, pixmap, req->glxpixmap, config); + pdraw = psc->driScreen->createDrawable(psc, pixmap, xid, config); if (pdraw == NULL) { fprintf(stderr, "failed to create pixmap\n"); break; } - if (__glxHashInsert(priv->drawHash, req->glxpixmap, pdraw)) { + if (__glxHashInsert(priv->drawHash, xid, pdraw)) { (*pdraw->destroyDrawable) (pdraw); return None; /* FIXME: Check what we're supposed to do here... */ } |