diff --git a/GPU/GPUCommon.cpp b/GPU/GPUCommon.cpp index 6222e1edb8..e6e7f2f25f 100644 --- a/GPU/GPUCommon.cpp +++ b/GPU/GPUCommon.cpp @@ -491,7 +491,9 @@ void GPUCommon::BeginHostFrame() { void GPUCommon::EndHostFrame() { // Probably not necessary. - draw_->InvalidateCachedState(); + if (draw_) { + draw_->InvalidateCachedState(); + } } void GPUCommon::Reinitialize() {