changeset 307:397d4a457dc5

Merged.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 11 Oct 2012 21:20:13 +0300
parents 036fde2fd630 (current diff) a759a52d4829 (diff)
children c4d52b8e3be4
files
diffstat 1 files changed, 1 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/vptest.c	Thu Oct 11 21:20:05 2012 +0300
+++ b/vptest.c	Thu Oct 11 21:20:13 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);