Skip to content

Commit

Permalink
chore: fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Nov 13, 2023
1 parent d84a8b4 commit 37f0f86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/flash/producer/flash_producer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class flash_renderer
ax_->Tick();

if (ax_->InvalidRect()) {
core::pixel_format_desc desc = core::pixel_format::bgra;
core::pixel_format_desc desc = core::pixel_format_desc(core::pixel_format::bgra);
desc.planes.push_back(core::pixel_format_desc::plane(width_, height_, 4));
auto frame = frame_factory_->create_frame(this, desc);

Expand Down Expand Up @@ -369,7 +369,7 @@ struct flash_producer : public core::frame_producer
std::unique_ptr<flash_renderer> renderer_;
std::atomic<bool> has_renderer_;

executor executor_ = L"flash_producer";
executor executor_ = executor(L"flash_producer");

public:
flash_producer(const spl::shared_ptr<core::frame_factory>& frame_factory,
Expand Down

0 comments on commit 37f0f86

Please sign in to comment.