Skip to content

Commit

Permalink
RegTest: Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jul 24, 2023
1 parent 6fbdb6d commit 944bf5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/duckstation-regtest/regtest_host_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ bool RegTestHostDisplay::Render(bool skip_present)
return true;
}

bool RegTestHostDisplay::RenderScreenshot(u32 width, u32 height, std::vector<u32>* out_pixels, u32* out_stride,
GPUTexture::Format* out_format)
bool RegTestHostDisplay::RenderScreenshot(u32 width, u32 height, const Common::Rectangle<s32>& draw_rect,
std::vector<u32>* out_pixels, u32* out_stride, GPUTexture::Format* out_format)
{
return false;
}
Expand Down
4 changes: 2 additions & 2 deletions src/duckstation-regtest/regtest_host_display.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ class RegTestHostDisplay final : public HostDisplay
void SetVSync(bool enabled) override;

bool Render(bool skip_present) override;
bool RenderScreenshot(u32 width, u32 height, std::vector<u32>* out_pixels, u32* out_stride,
GPUTexture::Format* out_format) override;
bool RenderScreenshot(u32 width, u32 height, const Common::Rectangle<s32>& draw_rect, std::vector<u32>* out_pixels,
u32* out_stride, GPUTexture::Format* out_format) override;

bool SupportsTextureFormat(GPUTexture::Format format) const override;

Expand Down

0 comments on commit 944bf5d

Please sign in to comment.