Fix task switching issue with reinterpret. Fixes #13649

This commit is contained in:
Henrik Rydgård 2020-11-10 13:24:26 +01:00
parent 5eea7435d0
commit 0510101f6c

View File

@ -2273,9 +2273,11 @@ void FramebufferManagerCommon::DeviceLost() {
}
if (reinterpretSampler_) {
reinterpretSampler_->Release();
reinterpretSampler_ = nullptr;
}
if (reinterpretVS_) {
reinterpretVS_->Release();
reinterpretVS_ = nullptr;
}
presentation_->DeviceLost();
draw_ = nullptr;