Changeset 3222


Ignore:
Timestamp:
12/10/08 19:07:32 (15 years ago)
Author:
mattausch
Message:

found error that made it slower

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp

    r3220 r3222  
    352352        } 
    353353 
    354         const int dsw = w; const int dsh = h; 
    355  
    356354        mIllumFbo = new FrameBufferObject(downSampledWidth, downSampledHeight, FrameBufferObject::DEPTH_NONE); 
    357355        //mIllumFbo = new FrameBufferObject(w, h, FrameBufferObject::DEPTH_NONE); 
     
    370368        //-- as GI is mostly low frequency, we can use lower resolution toimprove performance 
    371369 
    372         mDownSampleFbo = new FrameBufferObject(dsw, dsh, FrameBufferObject::DEPTH_NONE); 
     370        mDownSampleFbo = new FrameBufferObject(downSampledWidth, downSampledHeight, FrameBufferObject::DEPTH_NONE); 
    373371        // the downsampled color + depth buffer 
    374372        mDownSampleFbo->AddColorBuffer(ColorBufferObject::RGBA_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_LINEAR); 
Note: See TracChangeset for help on using the changeset viewer.