mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
GPU: More consistently clear ptrs on DeviceLost().
Rather get a null pointer crash than confusing buggy use-after-free excitement.
This commit is contained in:
1 parent
47b7305bf5
commit
7ec62a32b4
11 files changed
+17
-2
No files matched your search
@@ -2437,7 +2437,7 @@ void FramebufferManagerCommon::DeviceLost() {
|
||||
void FramebufferManagerCommon::DeviceRestore(Draw::DrawContext *draw) {
|
||||
draw_ = draw;
|
||||
draw2D_.DeviceRestore(draw_);
|
||||
presentation_->DeviceRestore(draw);
|
||||
presentation_->DeviceRestore(draw_);
|
||||
}
|
||||
|
||||
void FramebufferManagerCommon::DrawActiveTexture(float x, float y, float w, float h, float destW, float destH, float u0, float v0, float u1, float v1, int uvRotation, int flags) {
|
||||
|
||||
Reference in new issue
Block a user