Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/Core/Resources/ConcreteLoaders/MaterialLoaderImpl.cpp

Diff revisions: vs.
  @@ -6,11 +6,11 @@
6 6 namespace Divide {
7 7
8 8 Material* ImplResourceLoader<Material>::operator()(){
9 - Material* ptr = New Material();
9 + Material* ptr = MemoryManager_NEW Material();
10 10 assert(ptr != nullptr);
11 11
12 12 if ( !load( ptr, _descriptor.getName() ) ) {
13 - MemoryManager::SAFE_DELETE( ptr );
13 + MemoryManager::DELETE( ptr );
14 14 } else {
15 15 if ( _descriptor.getFlag() ) {
16 16 ptr->setShaderProgram( "", true );