CSplashScreen: Render Dolby splash

This commit is contained in:
Luke Street 2022-03-09 00:51:00 -05:00
parent 3a4308e173
commit 8d83afa102
1 changed files with 2 additions and 10 deletions

View File

@ -91,18 +91,10 @@ void CSplashScreen::Draw() {
CGraphics::StreamEnd(); CGraphics::StreamEnd();
CGraphics::SetCullMode(ERglCullMode::Front); CGraphics::SetCullMode(ERglCullMode::Front);
} else { } else {
// TODO // TODO originally uses CGraphics viewport, but Render2D needs scaling fix
// CGraphics::Render2D(); CGraphics::Render2D(tex, 0, 0, 640, 448, color);
} }
// zeus::CRectangle rect;
// rect.size.x() = width / (480.f * CGraphics::GetViewportAspect());
// rect.size.y() = height / 480.f;
// rect.position.x() = 0.5f - rect.size.x() / 2.f;
// rect.position.y() = 0.5f - rect.size.y() / 2.f;
// aurora::gfx::queue_textured_quad(aurora::gfx::CameraFilterType::Blend, tex.GetTexture(),
// aurora::gfx::ZComp::Always, false, color, 1.f, rect, 0.f);
// Progressive scan options omitted // Progressive scan options omitted
} }