changeset 2221:b858ade0fb0b

Add some comments.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 14 Jun 2019 09:04:15 +0300
parents a8b4e9c9f337
children 75b5bb490f38
files tools/libgfx.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/libgfx.h	Fri Jun 14 08:33:18 2019 +0300
+++ b/tools/libgfx.h	Fri Jun 14 09:04:15 2019 +0300
@@ -114,9 +114,11 @@
     int  pixfmt;              // Target color format DM_PIXFMT_*
     int  scaleX, scaleY;      // Integer scale factors (1..)
 
-    int  nplanes, bpp, mask;  // number of planes, bits per PLANE, masking
+    int  nplanes, bpp;        // number of bitplanes to use, bits per PLANE to use
+    int  mask;                // masking
     BOOL planar;              // use planar format if the format supports it
     int  compression;         // Use compression/compression level (0 = none, 9 = max)
+                              // (not all formats support any, or more than on/off compression)
 } DMImageWriteSpec;