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

    r11472 r13041  
    1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield  
     1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 
    22 * 
    3  * This library is open source and may be redistributed and/or modified under   
    4  * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or  
     3 * This library is open source and may be redistributed and/or modified under 
     4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 
    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 
    10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
     10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1111 * OpenSceneGraph Public License for more details. 
    1212*/ 
     
    4545{ 
    4646 
    47    // get the contextID (user defined ID of 0 upwards) for the  
     47   // get the contextID (user defined ID of 0 upwards) for the 
    4848    // current OpenGL context. 
    4949    const unsigned int contextID = state.getContextID(); 
    50      
     50 
    5151    const Extensions* extensions = getExtensions(contextID,true); 
    52                                          
     52 
    5353    if (!extensions->isBlendEquationSupported()) 
    5454    { 
     
    126126{ 
    127127    bool bultInSupport = OSG_GLES2_FEATURES || OSG_GL3_FEATURES; 
    128     _isBlendEquationSupported = bultInSupport ||  
    129         isGLExtensionSupported(contextID, "GL_EXT_blend_equation") ||  
     128    _isBlendEquationSupported = bultInSupport || 
     129        isGLExtensionSupported(contextID, "GL_EXT_blend_equation") || 
    130130        strncmp((const char*)glGetString(GL_VERSION), "1.2", 3) >= 0; 
    131131 
    132132    _isBlendEquationSeparateSupported = bultInSupport || 
    133         isGLExtensionSupported(contextID, "GL_EXT_blend_equation_separate") ||  
     133        isGLExtensionSupported(contextID, "GL_EXT_blend_equation_separate") || 
    134134        strncmp((const char*)glGetString(GL_VERSION), "2.0", 3) >= 0; 
    135135