Test crashfix

This commit is contained in:
Henrik Rydgård committed 2022-11-21 19:57:59 +01:00
1 parent cbfa4bfc8e
commit fe1446bf92
1 file changed
+3 -1
+3 -1
View File
@@ -491,7 +491,9 @@ void GPUCommon::BeginHostFrame() {
void GPUCommon::EndHostFrame() {
// Probably not necessary.
draw_->InvalidateCachedState();
if (draw_) {
draw_->InvalidateCachedState();
}
}
void GPUCommon::Reinitialize() {