mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
LibGfx: Initialize some uninitialized things in GIFLoader
This commit is contained in:
parent
079d2fe088
commit
28e34ffe38
Notes:
sideshowbarker
2024-07-19 03:23:49 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/28e34ffe389
1 changed files with 6 additions and 6 deletions
|
@ -43,13 +43,13 @@ struct RGB {
|
|||
};
|
||||
|
||||
struct ImageDescriptor {
|
||||
u16 x;
|
||||
u16 y;
|
||||
u16 width;
|
||||
u16 height;
|
||||
bool use_global_color_map;
|
||||
u16 x { 0 };
|
||||
u16 y { 0 };
|
||||
u16 width { 0 };
|
||||
u16 height { 0 };
|
||||
bool use_global_color_map { true };
|
||||
RGB color_map[256];
|
||||
u8 lzw_min_code_size;
|
||||
u8 lzw_min_code_size { 0 };
|
||||
Vector<u8> lzw_encoded_bytes;
|
||||
RefPtr<Gfx::Bitmap> bitmap;
|
||||
|
||||
|
|
Loading…
Reference in a new issue