mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-21 00:19:13 +00:00
Transition all Textured/ColoredQuad usages
- Upload textures using staging buffer - Fixes SetOrtho logic - More work on thermal visor rendering (still WIP) - Rework Dawn backend initialization - Support MoltenVK on Metal - Various fixes & cleanup
This commit is contained in:
@@ -120,15 +120,16 @@ CIOWin::EMessageReturn CSlideShow::OnMessage(const CArchitectureMessage& msg, CA
|
||||
}
|
||||
|
||||
void CSlideShow::SSlideData::Draw() {
|
||||
if (!IsLoaded()) {
|
||||
return;
|
||||
}
|
||||
|
||||
const zeus::CRectangle rect;
|
||||
m_texQuad->draw(x30_mulColor, 1.f, rect);
|
||||
|
||||
const zeus::CVector2f centeredOffset((x28_canvasSize.x() - m_texQuad->GetTex()->GetWidth()) * 0.5f,
|
||||
(x28_canvasSize.y() - m_texQuad->GetTex()->GetHeight()) * 0.5f);
|
||||
// TODO
|
||||
// if (!IsLoaded()) {
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// const zeus::CRectangle rect;
|
||||
// m_texQuad->draw(x30_mulColor, 1.f, rect);
|
||||
//
|
||||
// const zeus::CVector2f centeredOffset((x28_canvasSize.x() - m_texQuad->GetTex()->GetWidth()) * 0.5f,
|
||||
// (x28_canvasSize.y() - m_texQuad->GetTex()->GetHeight()) * 0.5f);
|
||||
}
|
||||
|
||||
void CSlideShow::Draw() {
|
||||
|
||||
Reference in New Issue
Block a user