Ignore:
Timestamp:
09/25/08 18:37:03 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2968 r2974  
    618618        // the diffuse color buffer 
    619619        fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, ColorBufferObject::FILTER_NEAREST); 
    620         //fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, false); 
    621620 
    622621        // the positions buffer 
    623622        fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, ColorBufferObject::FILTER_NEAREST); 
    624         //fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, false); 
    625623 
    626624        // the normals buffer 
     
    10541052                 
    10551053                // draw to 3 color buffers 
    1056                 glDrawBuffers(3, mrt); 
     1054                // a color, normal, and positions buffer 
     1055                glDrawBuffers(4, mrt); 
    10571056 
    10581057                glEnableClientState(GL_NORMAL_ARRAY); 
Note: See TracChangeset for help on using the changeset viewer.