Improve error message slightly

This commit is contained in:
Alex Szpakowski
2020-12-30 11:46:00 -04:00
parent 2fb88cb4a5
commit 0ec7ea73de
+1 -1
View File
@@ -493,7 +493,7 @@ std::string Shader::createShaderStageCode(Graphics *gfx, ShaderStage::StageType
throw love::Exception("Cannot find entry point for shader stage.");
if (info.stages[stage] == ENTRYPOINT_RAW && info.language == LANGUAGE_GLSL1)
throw love::Exception("Shaders using a raw entry point must use GLSL 3 or greater.");
throw love::Exception("Shaders using a raw entry point (vertexmain or pixelmain) must use GLSL 3 or greater.");
const auto &features = gfx->getCapabilities().features;