mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-05 01:30:31 +01:00
check for PIXMAP in clip routine (SF bug 1323215)
This commit is contained in:
parent
ac04a4fa7f
commit
e7325294d0
1 changed files with 1 additions and 1 deletions
|
|
@ -3762,7 +3762,7 @@ clip_for_xgetimage(GLcontext *ctx, GLuint *n, GLint *x, GLint *y)
|
|||
Window child;
|
||||
GLint screenWidth = WidthOfScreen(DefaultScreenOfDisplay(xmesa->display));
|
||||
GLint dx, dy;
|
||||
if (source->type == PBUFFER)
|
||||
if (source->type == PBUFFER || source->type == PIXMAP)
|
||||
return 0;
|
||||
XTranslateCoordinates(xmesa->display, source->frontxrb->pixmap, rootWin,
|
||||
*x, *y, &dx, &dy, &child);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue