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/GraphicsThread.cpp

    r11909 r13041  
    2323GraphicsThread::GraphicsThread() 
    2424{ 
    25 }    
     25} 
    2626 
    2727void GraphicsThread::run() 
     
    3030    GraphicsContext* graphicsContext = dynamic_cast<GraphicsContext*>(_parent.get()); 
    3131    if (graphicsContext) 
    32     {         
     32    { 
    3333        graphicsContext->makeCurrent(); 
    34          
     34 
    3535        graphicsContext->getState()->initializeExtensionProcs(); 
    3636    } 
     
    3939 
    4040    // release operations before the thread stops working. 
    41     _operationQueue->releaseAllOperations();  
     41    _operationQueue->releaseAllOperations(); 
    4242 
    4343    if (graphicsContext) 
    44     {     
     44    { 
    4545        graphicsContext->releaseContext(); 
    4646    } 
     
    5353    if (context) operator() (context); 
    5454} 
    55   
     55 
    5656void SwapBuffersOperation::operator () (GraphicsContext* context) 
    5757{ 
     
    7272        else if (_preBlockOp==GL_FINISH) glFinish(); 
    7373    } 
    74          
     74 
    7575    block(); 
    7676} 
     
    8686    // release the graphics context. 
    8787    context->releaseContext(); 
    88      
    89     // reset the block so that it the next call to block()  
     88 
     89    // reset the block so that it the next call to block() 
    9090    reset(); 
    91      
     91 
    9292    // block this thread, until the block is released externally. 
    9393    block(); 
    94      
     94 
    9595    // re acquire the graphics context. 
    9696    context->makeCurrent();