Object tracker bug fixes; optional metal binary shader compilation

This commit is contained in:
Jack Andersen
2017-11-04 20:12:49 -10:00
parent 021143fd89
commit 3a7987bb21
9 changed files with 619 additions and 518 deletions

View File

@@ -215,7 +215,6 @@ public:
~GraphicsContextCocoaGL()
{
m_commandQueue->stopRenderer();
m_dataFactory->destroyAllData();
delete m_commandQueue;
delete m_dataFactory;
printf("CONTEXT DESTROYED\n");
@@ -374,7 +373,6 @@ public:
~GraphicsContextCocoaMetal()
{
m_commandQueue->stopRenderer();
m_dataFactory->destroyAllData();
delete m_commandQueue;
delete m_dataFactory;
m_metalCtx->m_windows.erase(m_parentWindow);