Improve overlay format handling

This commit is contained in:
Cameron Gutman
2022-05-28 22:48:23 -05:00
parent e103f6c9b6
commit f8a6012c3a
4 changed files with 6 additions and 13 deletions
@@ -365,6 +365,7 @@ void VDPAURenderer::notifyOverlayUpdated(Overlay::OverlayType type)
if (newSurface != nullptr) {
SDL_assert(!SDL_MUSTLOCK(newSurface));
SDL_assert(newSurface->format->format == SDL_PIXELFORMAT_ARGB8888);
VdpBitmapSurface newBitmapSurface = 0;
status = m_VdpBitmapSurfaceCreate(m_Device,