2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 15:07:43 +00:00

Support lazy CGraphics::CommitResources

This commit is contained in:
Henrique Gemignani Passos Lima
2021-06-29 23:09:30 +03:00
parent 0b523f98c3
commit d2ae2b3818
4 changed files with 31 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ u32 CGraphics::g_FrameCounter = 0;
u32 CGraphics::g_Framerate = 0;
u32 CGraphics::g_FramesPast = 0;
frame_clock::time_point CGraphics::g_FrameStartTime = frame_clock::now();
bool CGraphics::g_commitAsLazy = false;
const std::array<zeus::CMatrix3f, 6> CGraphics::skCubeBasisMats{{
/* Right */