mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Fixed that warnings that showed up with optimisations.
This commit is contained in:
parent
be064df25e
commit
8189c64d7f
5 changed files with 15 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue