# HG changeset patch # User Matti Hamalainen # Date 1425228822 -7200 # Node ID 8c65e57cc81a4e1768500b964d5d404d4977156a # Parent 333d9075f5eac2ef30471eebb5af82f53e3a177e Delete dead function. diff -r 333d9075f5ea -r 8c65e57cc81a krapula.c --- a/krapula.c Sun Mar 01 18:52:04 2015 +0200 +++ b/krapula.c Sun Mar 01 18:53:42 2015 +0200 @@ -28,23 +28,6 @@ } -void dmRandom(SDL_Surface *screen, int q) -{ - Uint8 *pix = screen->pixels; - int xc, yc; - - for (yc = 0; yc < screen->h; yc++) - { - Uint8 *dp = pix; - - for (xc = 0; xc < screen->w; xc++) - *dp++ = yc + (xc ^ q) + (yc & q); - - pix += screen->pitch; - } -} - - #define QWIDTH 256 #define QHEIGHT 160