Skip to content

Commit

Permalink
fix: missed property
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 21, 2025
1 parent 2465130 commit a355a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/image/producer/image_producer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ struct image_producer : public core::frame_producer

void load(const loaded_image& image, core::frame_geometry::scale_mode scale_mode)
{
core::pixel_format_desc desc(core::pixel_format::bgra);
core::pixel_format_desc desc(image.format);
desc.is_straight_alpha = image.is_straight;
desc.planes.emplace_back(
FreeImage_GetWidth(image.bitmap.get()), FreeImage_GetHeight(image.bitmap.get()), image.stride, image.depth);
Expand Down

0 comments on commit a355a4d

Please sign in to comment.