mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:27:43 +00:00
LibGfx: Initialize some uninitialized things in GIFLoader
This commit is contained in:
parent
079d2fe088
commit
28e34ffe38
1 changed files with 6 additions and 6 deletions
|
@ -43,13 +43,13 @@ struct RGB {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ImageDescriptor {
|
struct ImageDescriptor {
|
||||||
u16 x;
|
u16 x { 0 };
|
||||||
u16 y;
|
u16 y { 0 };
|
||||||
u16 width;
|
u16 width { 0 };
|
||||||
u16 height;
|
u16 height { 0 };
|
||||||
bool use_global_color_map;
|
bool use_global_color_map { true };
|
||||||
RGB color_map[256];
|
RGB color_map[256];
|
||||||
u8 lzw_min_code_size;
|
u8 lzw_min_code_size { 0 };
|
||||||
Vector<u8> lzw_encoded_bytes;
|
Vector<u8> lzw_encoded_bytes;
|
||||||
RefPtr<Gfx::Bitmap> bitmap;
|
RefPtr<Gfx::Bitmap> bitmap;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue