Mercurial > hg > demos > krapula
changeset 50:8c65e57cc81a
Delete dead function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 01 Mar 2015 18:53:42 +0200 |
parents | 333d9075f5ea |
children | 72d1b5dd22e5 |
files | krapula.c |
diffstat | 1 files changed, 0 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- 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