Renamed all cases of "fragment shader" to "pixel shader"

This commit is contained in:
Alex Szpakowski
2013-03-17 18:11:41 -03:00
parent 73c9f412ea
commit 07ba81f060
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -102,9 +102,9 @@ GLuint Shader::compileCode(ShaderType type, const std::string &code)
glshadertype = GL_VERTEX_SHADER;
shadertypename = "vertex";
break;
case TYPE_FRAGMENT:
case TYPE_PIXEL:
glshadertype = GL_FRAGMENT_SHADER;
shadertypename = "fragment";
shadertypename = "pixel";
break;
default:
throw love::Exception("Cannot create shader object: unknown shader type.");