Fallback to default shader

This commit is contained in:
Ray 2016-06-06 23:16:14 +02:00
parent 4dada32693
commit 522af9f477

View File

@ -2579,6 +2579,7 @@ static Shader LoadStandardShader(void)
else TraceLog(WARNING, "[SHDR ID %i] Standard shader could not be loaded", shader.id);
if (shader.id != 0) LoadDefaultShaderLocations(&shader);
else shader = GetDefaultShader();
return shader;
}