changeset 1415:1e4fb7c5527f

Remove useless SDL_SetColors() call.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 05 Nov 2017 04:20:08 +0200
parents d6ee4dcef692
children 3baed76155a1
files tools/view64.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/view64.c	Sun Nov 05 04:04:52 2017 +0200
+++ b/tools/view64.c	Sun Nov 05 04:20:08 2017 +0200
@@ -416,8 +416,6 @@
                 goto exit;
             }
 
-            SDL_SetColors(surf, (SDL_Color *)dmC64Palette, 0, C64_NCOLORS);
-
             if (dmDecodeC64Image(cimage, fmt, surf) == DMERR_OK)
             {
                 title = dm_strdup_printf("%s - %s (%d x %d) [%d / %d]",