Merge pull request #1640 from rohit-n/switch-default

Silence some -Wswitch-default warnings.
This commit is contained in:
skidau 2014-12-13 19:47:06 +11:00
commit d02eb3ca59
7 changed files with 20 additions and 17 deletions

View file

@ -55,9 +55,10 @@ static std::string GetGLSLVersionString()
return "#version 140";
case GLSL_150:
return "#version 150";
default:
// Shouldn't ever hit this
return "#version ERROR";
}
// Shouldn't ever hit this
return "#version ERROR";
}
void SHADER::SetProgramVariables()