Browse Source

Improve error message slightly

Alex Szpakowski 4 years ago
parent
commit
0ec7ea73de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/Shader.cpp

+ 1 - 1
src/modules/graphics/Shader.cpp

@@ -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;