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);