mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
LibGfx/PortableFormat: Simplify the State enum
This enum used to store very precise state about the decoding process, let's simplify that by only including two steps: HeaderDecoder and BitmapDecoded.
This commit is contained in:
committed by
Sam Atkins
parent
f6ce06d56b
commit
f3ff9c26bc
@@ -45,7 +45,7 @@ ErrorOr<void> read_image_data(PPMLoadingContext& context)
|
||||
}
|
||||
}
|
||||
|
||||
context.state = PPMLoadingContext::State::Bitmap;
|
||||
context.state = PPMLoadingContext::State::BitmapDecoded;
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user