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/CustomOperators/BloomPreRenderOperator.cpp

Diff revisions: vs.
  @@ -10,7 +10,9 @@
10 10
11 11 BloomPreRenderOperator::BloomPreRenderOperator(Framebuffer* result,
12 12 const vec2<U16>& resolution,
13 - SamplerDescriptor* const sampler) : PreRenderOperator(BLOOM_STAGE,resolution,sampler),
13 + SamplerDescriptor* const sampler) : PreRenderOperator(BLOOM_STAGE,
14 + resolution,
15 + sampler),
14 16 _outputFB(result),
15 17 _tempHDRFB(nullptr),
16 18 _luminaMipLevel(0)
  @@ -50,10 +52,10 @@
50 52 {
51 53 RemoveResource(_bright);
52 54 RemoveResource(_blur);
53 - MemoryManager::SAFE_DELETE( _tempBloomFB );
54 - MemoryManager::SAFE_DELETE( _luminaFB[0] );
55 - MemoryManager::SAFE_DELETE( _luminaFB[1] );
56 - MemoryManager::SAFE_DELETE( _tempHDRFB );
55 + MemoryManager::DELETE( _tempBloomFB );
56 + MemoryManager::DELETE( _luminaFB[0] );
57 + MemoryManager::DELETE( _luminaFB[1] );
58 + MemoryManager::DELETE( _tempHDRFB );
57 59 }
58 60
59 61 U32 nextPOW2(U32 n) {