Show
Ignore:
Timestamp:
03/21/12 18:36:20 (2 years ago)
Author:
robert
Message:

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/BufferObject.cpp

    r12912 r13041  
    207207            const osg::Image* image = entry.dataSource->asImage(); 
    208208            if (image && !(image->isDataContiguous())) 
    209             {                 
     209            { 
    210210                unsigned int offset = entry.offset; 
    211211                for(osg::Image::DataIterator img_itr(image); img_itr.valid(); ++img_itr) 
     
    217217            } 
    218218            else 
    219             {             
     219            { 
    220220                _extensions->glBufferSubData(_profile._target, (GLintptrARB)entry.offset, (GLsizeiptrARB)entry.dataSize, entry.dataSource->getDataPointer()); 
    221221            } 
     
    666666        return; 
    667667    } 
    668      
     668 
    669669    // if nothing to delete return 
    670670    if (_orphanedGLBufferObjects.empty()) return; 
     
    15991599void PixelDataBufferObject::compileBuffer(State& state) const 
    16001600{ 
    1601     unsigned int contextID = state.getContextID();     
     1601    unsigned int contextID = state.getContextID(); 
    16021602    if ( _profile._size == 0) return; 
    16031603 
     
    16131613void PixelDataBufferObject::bindBufferInReadMode(State& state) 
    16141614{ 
    1615     unsigned int contextID = state.getContextID();     
     1615    unsigned int contextID = state.getContextID(); 
    16161616 
    16171617    GLBufferObject* bo = getOrCreateGLBufferObject(contextID); 
     
    16281628void PixelDataBufferObject::bindBufferInWriteMode(State& state) 
    16291629{ 
    1630     unsigned int contextID = state.getContextID();     
     1630    unsigned int contextID = state.getContextID(); 
    16311631 
    16321632    GLBufferObject* bo = getOrCreateGLBufferObject(contextID); 
     
    16421642//-------------------------------------------------------------------------------- 
    16431643void PixelDataBufferObject::unbindBuffer(unsigned int contextID) const 
    1644 {  
     1644{ 
    16451645    GLBufferObject::Extensions* extensions = GLBufferObject::getExtensions(contextID,true); 
    16461646