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/Rendering/PostFX/PreRenderStageBuilder.cpp

Diff revisions: vs.
  @@ -7,8 +7,8 @@
7 7 namespace Divide {
8 8
9 9 PreRenderStageBuilder::PreRenderStageBuilder(){
10 - _renderStage = New PreRenderStage();
11 - _screenSampler = New SamplerDescriptor;
10 + _renderStage = MemoryManager_NEW PreRenderStage();
11 + _screenSampler = MemoryManager_NEW SamplerDescriptor;
12 12 _screenSampler->setWrapMode(TEXTURE_CLAMP_TO_EDGE);
13 13 _screenSampler->setFilters(TEXTURE_FILTER_NEAREST);
14 14 _screenSampler->toggleMipMaps(false); //it's a flat texture on a full screen quad. really?
  @@ -16,8 +16,8 @@
16 16 }
17 17
18 18 PreRenderStageBuilder::~PreRenderStageBuilder(){
19 - MemoryManager::SAFE_DELETE( _renderStage );
20 - MemoryManager::SAFE_DELETE( _screenSampler );
19 + MemoryManager::DELETE( _renderStage );
20 + MemoryManager::DELETE( _screenSampler );
21 21 }
22 22
23 23 PreRenderOperator* PreRenderStageBuilder::addToStage(PreRenderOperator* op, bool& state){