s/Shadow/SHADOW/
authorBrian <brian@yutani.localnet.net>
Wed, 11 Apr 2007 17:13:37 +0000 (11:13 -0600)
committerBrian <brian@yutani.localnet.net>
Wed, 11 Apr 2007 17:13:37 +0000 (11:13 -0600)
src/mesa/shader/slang/slang_compile_variable.c

index 819b4f901b3b486101c5d2eea0c200cff0677b58..664fd9bc57678284306080755494b2d7528828bb 100644 (file)
@@ -393,9 +393,9 @@ gl_type_from_specifier(const slang_type_specifier * type)
       return GL_SAMPLER_3D_ARB;
    case SLANG_SPEC_SAMPLERCUBE:
       return GL_SAMPLER_CUBE_ARB;
-   case SLANG_SPEC_SAMPLER1DShadow:
+   case SLANG_SPEC_SAMPLER1DSHADOW:
       return GL_SAMPLER_1D_SHADOW_ARB;
-   case SLANG_SPEC_SAMPLER2DShadow:
+   case SLANG_SPEC_SAMPLER2DSHADOW:
       return GL_SAMPLER_2D_SHADOW_ARB;
    case SLANG_SPEC_ARRAy:
       return gl_type_from_specifier(type->_array);