changeset 306:a759a52d4829

Delete dead function.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 11 Oct 2012 21:08:55 +0300
parents 9a945c87f5ec
children 397d4a457dc5
files vptest.c
diffstat 1 files changed, 1 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/vptest.c	Thu Oct 11 21:02:31 2012 +0300
+++ b/vptest.c	Thu Oct 11 21:08:55 2012 +0300
@@ -90,28 +90,13 @@
 }
 
 
-void DM_MakePalette(SDL_Surface *scr)
-{
-    SDL_Color pal[DM_COLORS];
-    int n;
-
-    for (n = 0; n < 256; n++)
-    {
-        pal[n].r = n;
-        pal[n].g = n;
-        pal[n].b = n;
-    }
-
-    SDL_SetColors(scr, pal, 0, DM_COLORS);
-}
-
-
 void DM_PrintRect(FILE *f, SDL_Rect *r)
 {
     fprintf(f, "SDL_Rect <%d, %d : %d, %d>\n",
         r->x, r->y, r->w, r->h);
 }
 
+
 BOOL DM_InitializeVideo(SDL_Surface **screen)
 {
     *screen = SDL_SetVideoMode(optScrWidth, optScrHeight, optScrDepth, optVFlags | SDL_RESIZABLE);