diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-10-11 01:21:40 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-10-11 01:21:40 +0000 |
commit | e7325294d0d35b34d1869f7c4e97a9be76faf181 (patch) | |
tree | 11083abddbb9818dbe8fff3bd12f93cdee5765fd /src/mesa/drivers/x11 | |
parent | ac04a4fa7fb2c705d518cb3e0c12a2df8fc05485 (diff) |
check for PIXMAP in clip routine (SF bug 1323215)
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r-- | src/mesa/drivers/x11/xm_span.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_span.c b/src/mesa/drivers/x11/xm_span.c index 64fa34a132..664f365df9 100644 --- a/src/mesa/drivers/x11/xm_span.c +++ b/src/mesa/drivers/x11/xm_span.c @@ -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); |