Mercurial > hg > demos > krapula
changeset 18:ccc5cdce91e3
Remove dead function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 29 Sep 2012 13:28:11 +0300 |
parents | 758a39d3f750 |
children | 64017da3aa2f |
files | krapula.c |
diffstat | 1 files changed, 0 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/krapula.c Sat Sep 29 13:27:38 2012 +0300 +++ b/krapula.c Sat Sep 29 13:28:11 2012 +0300 @@ -130,20 +130,6 @@ } -BOOL dmInitializeVideo(SDL_Surface **screen) -{ - *screen = SDL_SetVideoMode(optScrWidth, optScrHeight, 32, optVFlags); // | SDL_RESIZABLE); - if (*screen == NULL) - { - dmError("Can't SDL_SetVideoMode(): %s\n", SDL_GetError()); - return FALSE; - } - - SDL_ShowCursor(SDL_DISABLE); - return TRUE; -} - - void dmRandom(SDL_Surface *screen, int q) { Uint8 *pix = screen->pixels;