comparison src/libgfx.h @ 929:e1378398be0f

Add size field for allocated data size in DMImage.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Feb 2015 19:25:51 +0200
parents c6c480e8e1c8
children 5ac8f5513978
comparison
equal deleted inserted replaced
928:ebe0d93e03c0 929:e1378398be0f
50 { 50 {
51 int width, height, pitch; 51 int width, height, pitch;
52 BOOL constpal; 52 BOOL constpal;
53 int ncolors, ctransp; 53 int ncolors, ctransp;
54 DMColor *pal; 54 DMColor *pal;
55 size_t size;
55 Uint8 *data; 56 Uint8 *data;
56 } DMImage; 57 } DMImage;
57 58
58 59
59 typedef struct 60 typedef struct