mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 02:27:42 +00:00
Big fixes and big memory leak refactor (linux only for now)
This commit is contained in:
@@ -334,10 +334,17 @@ public:
|
||||
return g_BooPlatformName;
|
||||
}
|
||||
|
||||
static void CommitResources(const boo::FactoryCommitFunc& commitFunc)
|
||||
static void CommitResources(const boo::FactoryCommitFunc& commitFunc __BooTraceArgs)
|
||||
{
|
||||
g_BooFactory->commitTransaction(commitFunc);
|
||||
g_BooFactory->commitTransaction(commitFunc __BooTraceArgsUse);
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define CGraphicsCommitResources(...) CGraphics::CommitResources(__VA_ARGS__, __FILE__, __LINE__)
|
||||
#else
|
||||
#define CGraphicsCommitResources(...) CGraphics::CommitResources(__VA_ARGS__)
|
||||
#endif
|
||||
|
||||
static void SetShaderDataBinding(const boo::ObjToken<boo::IShaderDataBinding>& binding)
|
||||
{
|
||||
g_BooMainCommandQueue->setShaderDataBinding(binding);
|
||||
|
||||
Reference in New Issue
Block a user