X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fbumps.c;h=64a02482748e95535f2d5d5300097319bb79cf10;hb=2d04c4f22466851aedb6ed0f2919d148f726b889;hp=1500bcc8b114f9034688403bf5550e65776a0055;hpb=6a1da724858673ac40aa13a9612340d8bed8c7b9;p=xscreensaver diff --git a/hacks/bumps.c b/hacks/bumps.c index 1500bcc8..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); + 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);