Merge pull request #16047 from jherico/fix/bugz-1097

BUGZ-1097: Fix invalid rendering of splash frame on AMD based macs
This commit is contained in:
Brad Hefta-Gaub 2019-08-09 09:51:38 -07:00 committed by GitHub
commit 555a875405
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -258,6 +258,7 @@ void GraphicsEngine::render_performFrame() {
batch.setFramebuffer(finalFramebuffer);
batch.enableSkybox(true);
batch.enableStereo(isStereo);
batch.clearDepthStencilFramebuffer(1.0, 0);
batch.setViewportTransform({ 0, 0, finalFramebuffer->getSize() });
_splashScreen->render(batch, viewFrustum, renderArgs._renderMethod == RenderArgs::RenderMethod::FORWARD);
});