changeset 1492:5f9080d24f3c

Set DMC64Image::type in dmC64ImageAlloc() from format type.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 11 May 2018 05:31:46 +0300
parents b329fea6f013
children d987a4933e1c
files tools/lib64gfx.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Fri May 11 05:31:16 2018 +0300
+++ b/tools/lib64gfx.c	Fri May 11 05:31:46 2018 +0300
@@ -137,6 +137,7 @@
         return NULL;
 
     // Initialize image information
+    img->type        = fmt->type;
     img->width       = fmt->width;
     img->height      = fmt->height;
     img->chWidth     = fmt->chWidth;