mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Headless: Allow screenshot compare without backend.
This makes not just graphics-enabled tests work in headless on softgpu, but also screenshot comparison ones.
This commit is contained in:
parent
a88f6b45d2
commit
e0b784f123
@ -33,12 +33,7 @@ void HeadlessHost::SendOrCollectDebugOutput(const std::string &data)
|
||||
DEBUG_LOG(COMMON, "%s", data.c_str());
|
||||
}
|
||||
|
||||
void HeadlessHost::SendDebugScreenshot(const u8 *pixbuf, u32 w, u32 h)
|
||||
{
|
||||
if (!gfx_) {
|
||||
return;
|
||||
}
|
||||
|
||||
void HeadlessHost::SendDebugScreenshot(const u8 *pixbuf, u32 w, u32 h) {
|
||||
// Only if we're actually comparing.
|
||||
if (comparisonScreenshot_.empty()) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user