Merge pull request #15895 from unknownbrackets/gpu-minor

GPU: Correct Draw2D::DeviceRestore()
This commit is contained in:
Henrik Rydgård 2022-08-24 11:50:42 +02:00 committed by GitHub
commit 586da08820
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 19 additions and 3 deletions

View file

@ -2439,7 +2439,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) {