Commit 0f083ab0 by Jonah Ryan-Davis Committed by Commit Bot

Reinitialize GL_VENDOR string when GPU switches

We already update the GL_RENDERER string. We should do the same for GL_VENDOR so this information is passed along correctly. Bug: chromium:1152212 Change-Id: I639700bfebdc9e77ec3c6b41fcd6516e8c32139d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2560824Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
parent 720b85e6
...@@ -2042,8 +2042,10 @@ void Display::returnScratchBufferImpl(angle::ScratchBuffer scratchBuffer, ...@@ -2042,8 +2042,10 @@ void Display::returnScratchBufferImpl(angle::ScratchBuffer scratchBuffer,
bufferVector->push_back(std::move(scratchBuffer)); bufferVector->push_back(std::move(scratchBuffer));
} }
egl::Error Display::handleGPUSwitch() Error Display::handleGPUSwitch()
{ {
return mImplementation->handleGPUSwitch(); ANGLE_TRY(mImplementation->handleGPUSwitch());
initVendorString();
return NoError();
} }
} // namespace egl } // namespace egl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment