Show
Ignore:
Timestamp:
05/23/07 17:14:18 (7 years ago)
Author:
robert
Message:

Made the local shaders definitions static const char to avoid multiple definiations

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgShadow/ShadowMap.cpp

    r6289 r6739  
    2626// fragment shader 
    2727// 
    28 char fragmentShaderSource_noBaseTexture[] =  
     28static const char fragmentShaderSource_noBaseTexture[] =  
    2929    "uniform sampler2DShadow shadowTexture; \n" 
    3030    "uniform vec2 ambientBias; \n" 
     
    3838// fragment shader 
    3939// 
    40 char fragmentShaderSource_withBaseTexture[] =  
     40static const char fragmentShaderSource_withBaseTexture[] =  
    4141    "uniform sampler2D baseTexture; \n" 
    4242    "uniform sampler2DShadow shadowTexture; \n"