Fixed that warnings that showed up with optimisations.

This commit is contained in:
Scott Anderson 2017-07-11 00:14:55 +12:00
parent be064df25e
commit 8189c64d7f
5 changed files with 15 additions and 11 deletions

View file

@ -5,7 +5,7 @@ struct gimp_texture {
unsigned int width;
unsigned int height;
unsigned int bytes_per_pixel; /* 2:RGB16, 3:RGB, 4:RGBA */
unsigned char pixel_data[128 * 128 * 3 + 1];
unsigned char pixel_data[128 * 128 * 4 + 1];
};
extern const struct gimp_texture cat_tex;