diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index cd97cc6..0593011 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -350,6 +350,7 @@ RADEONDownloadFromScreenCP(PixmapPtr pSrc, int x, int y, int w, int h, * then swapping the halves. */ if (bpp != 24 && RADEONGetDatatypeBpp(bpp, &datatype) && + (w > 32) && (h > 32) && RADEONGetPixmapOffsetPitch(pSrc, &src_pitch_offset) && (scratch = RADEONCPGetBuffer(pScrn))) {