Ignore:
Timestamp:
11/11/08 12:18:07 (16 years ago)
Author:
mattausch
Message:

strange errors

File:
1 edited

Legend:

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

    r3021 r3117  
    364364 
    365365 
     366void FrameBufferObject::InitBuffer(FrameBufferObject *fbo, int index) 
     367{ 
     368        // read the second buffer, write to the first buffer 
     369        fbo->Bind(); 
     370        glDrawBuffers(1, mrt + index); 
     371 
     372        glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); 
     373 
     374        FrameBufferObject::Release(); 
     375} 
     376 
    366377} // namespace 
Note: See TracChangeset for help on using the changeset viewer.