diff tools/64vw.c @ 2201:9f3fb4004c20

Improvements to the lib64gfx palette handling.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 14 Jun 2019 00:42:36 +0300
parents dcd26cdc395e
children 455a3849b8ac
line wrap: on
line diff
--- a/tools/64vw.c	Fri Jun 14 00:00:27 2019 +0300
+++ b/tools/64vw.c	Fri Jun 14 00:42:36 2019 +0300
@@ -230,7 +230,7 @@
     bmap.width    = surf->w;
     bmap.height   = surf->h;
 
-    if ((ret = dmSetDefaultC64Palette(&bmap)) != DMERR_OK)
+    if ((ret = dmC64SetImagePalette(&bmap, NULL, FALSE)) != DMERR_OK)
         return ret;
 
     if (cimage->charData[0].data == NULL)