mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibGfx: Add forward declaration header
This patch adds <LibGfx/Forward.h> with forward declarations for Gfx.
This commit is contained in:
parent
184475d45a
commit
3fe2640c8c
Notes:
sideshowbarker
2024-07-19 09:20:17 +09:00
Author: https://github.com/awesomekling
Commit: 3fe2640c8c
37 changed files with 264 additions and 172 deletions
|
@ -520,7 +520,7 @@ static bool decode_png_bitmap(PNGLoadingContext& context)
|
|||
}
|
||||
}
|
||||
|
||||
context.bitmap = Bitmap::create_purgeable(context.has_alpha() ? Bitmap::Format::RGBA32 : Bitmap::Format::RGB32, { context.width, context.height });
|
||||
context.bitmap = Bitmap::create_purgeable(context.has_alpha() ? BitmapFormat::RGBA32 : BitmapFormat::RGB32, { context.width, context.height });
|
||||
|
||||
unfilter(context);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue