mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-06 01:35:44 +00:00
Let developers provide an optional filename for dumping main texture contents.
This commit is contained in:
@ -115,8 +115,9 @@ void ProjectM::ResetTextures()
|
||||
m_renderer->ResetTextures();
|
||||
}
|
||||
|
||||
void ProjectM::DumpDebugImageOnNextFrame()
|
||||
void ProjectM::DumpDebugImageOnNextFrame(const std::string& outputFile)
|
||||
{
|
||||
m_renderer->frameDumpOutputFile = outputFile;
|
||||
m_renderer->writeNextFrameToFile = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user