X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fbumps.c;h=64a02482748e95535f2d5d5300097319bb79cf10;hb=447db08c956099b3b183886729108bf5b364c4b8;hp=5b73e7c569002079a56035bae2f705590c9021c2;hpb=96a411663168b0ba5432b407a83be55f3df0c802;p=xscreensaver diff --git a/hacks/bumps.c b/hacks/bumps.c index 5b73e7c5..64a02482 100644 --- a/hacks/bumps.c +++ b/hacks/bumps.c @@ -313,7 +313,7 @@ void InitBumpMap( SBumps *pBumps, XWindowAttributes *pXWinAttribs ) p = XCreatePixmap(pBumps->pDisplay, pBumps->Win, pXWinAttribs->width, pXWinAttribs->height, pXWinAttribs->depth); - load_random_image (pXWinAttribs->screen, pBumps->Win, p, NULL); + load_random_image (pXWinAttribs->screen, pBumps->Win, p, NULL, NULL); pScreenImage = XGetImage( pBumps->pDisplay, p, 0, 0, pBumps->iWinWidth, pBumps->iWinHeight, ~0L, ZPixmap ); XFreePixmap (pBumps->pDisplay, p);