Wire up frame before/after events

This commit is contained in:
Scott Mansell committed 2023-01-31 19:41:24 +13:00
1 parent 154cb4f722
commit 2a18b34a73
6 files changed
+117 -45

No files matched your search

@@ -417,6 +417,12 @@ void VertexManagerBase::Flush()
m_is_flushed = true;
if (m_draw_counter == 0)
{
// This is more or less the start of the Frame
BeforeFrameEvent::Trigger();
}
if (xfmem.numTexGen.numTexGens != bpmem.genMode.numtexgens ||
xfmem.numChan.numColorChans != bpmem.genMode.numcolchans)
{