This commit is contained in:
Henrik Rydgård 2022-11-23 08:52:46 +01:00
parent 5eb1c8eb59
commit 75dc856e2c
2 changed files with 6 additions and 1 deletions

View File

@ -639,7 +639,10 @@ void GPUCommon::CheckConfigChanged() {
configChanged_ = false;
}
framebufferManager_->CheckPostShaders();
// Check needed when running tests.
if (framebufferManager_) {
framebufferManager_->CheckPostShaders();
}
}
void GPUCommon::CheckDisplayResized() {

View File

@ -1,6 +1,8 @@
// Headless version of PPSSPP, for testing using http://code.google.com/p/pspautotests/ .
// See headless.txt.
// To build on non-windows systems, just run CMake in the SDL directory, it will build both a normal ppsspp and the headless version.
// Example command line to run a test in the VS debugger (useful to debug failures):
// > --root pspautotests/tests/../ --compare --timeout=5 --graphics=software pspautotests/tests/cpu/cpu_alu/cpu_alu.prx
#include "ppsspp_config.h"
#include <cstdio>