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/include/osg/BufferObject

    r12912 r13041  
    55 * (at your option) any later version.  The full license is in LICENSE file 
    66 * included with this distribution, and on the openscenegraph.org website. 
    7  *  
     7 * 
    88 * This library is distributed in the hope that it will be useful, 
    99 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     
    2828    (defined(GL_VERSION_ES_CM_1_1) && GL_VERSION_ES_CM_1_1 > 0) 
    2929 
    30     #define OPENGLES_1_1_FOUND 1   
     30    #define OPENGLES_1_1_FOUND 1 
    3131 
    3232#endif 
     
    5151#ifndef GL_ARB_vertex_buffer_object 
    5252    #define GL_ARB_vertex_buffer_object 
    53      
     53 
    5454    typedef GLintptr GLintptrARB; 
    5555    typedef GLsizeiptr GLsizeiptrARB; 
    56      
     56 
    5757    #define GL_ARRAY_BUFFER_ARB               0x8892 
    5858    #define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893 
     
    115115#endif 
    116116 
    117 namespace osg  
     117namespace osg 
    118118{ 
    119119 
     
    227227 
    228228        inline void unbindBuffer() 
    229         {  
     229        { 
    230230            _extensions->glBindBuffer(_profile._target,0); 
    231231        } 
     
    322322 
    323323        /** Function to call to get the extension of a specified context. 
    324         * If the Extension object for that context has not yet been created   
     324        * If the Extension object for that context has not yet been created 
    325325        * and the 'createIfNotInitalized' flag been set to false then returns NULL. 
    326         * If 'createIfNotInitalized' is true then the Extensions object is  
     326        * If 'createIfNotInitalized' is true then the Extensions object is 
    327327        * automatically created.  However, in this case the extension object is 
    328328        * only created with the graphics context associated with ContextID..*/ 
     
    724724 
    725725        META_Object(osg,ElementBufferObject); 
    726          
     726 
    727727        unsigned int addDrawElements(osg::DrawElements* PrimitiveSet); 
    728728        void removeDrawElements(osg::DrawElements* PrimitiveSet); 
     
    733733 
    734734    protected: 
    735      
     735 
    736736        virtual ~ElementBufferObject(); 
    737737}; 
     
    757757 
    758758    protected: 
    759      
     759 
    760760        virtual ~PixelBufferObject(); 
    761761}; 
     
    778778        inline void setDataSize(unsigned int size) { _profile._size = size; dirty(); } 
    779779 
    780         //! Get data size of the used buffer  
     780        //! Get data size of the used buffer 
    781781        inline unsigned int getDataSize() const { return _profile._size; } 
    782782 
     
    790790        virtual void bindBufferInWriteMode(State& state); 
    791791 
    792         //! Unbind the buffer  
     792        //! Unbind the buffer 
    793793        virtual void unbindBuffer(unsigned int contextID) const; 
    794794 
     
    815815 
    816816        typedef osg::buffered_value<unsigned int> ModeList; 
    817          
     817 
    818818        mutable ModeList _mode; 
    819          
     819 
    820820}; 
    821821