Skip to content

Commit

Permalink
Fix task switching issue with reinterpret. Fixes hrydgard#13649
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Nov 10, 2020
1 parent 5eea743 commit 0510101
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GPU/Common/FramebufferManagerCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2273,9 +2273,11 @@ void FramebufferManagerCommon::DeviceLost() {
}
if (reinterpretSampler_) {
reinterpretSampler_->Release();
reinterpretSampler_ = nullptr;
}
if (reinterpretVS_) {
reinterpretVS_->Release();
reinterpretVS_ = nullptr;
}
presentation_->DeviceLost();
draw_ = nullptr;
Expand Down

0 comments on commit 0510101

Please sign in to comment.