Fallback to default shader
This commit is contained in:
parent
4dada32693
commit
522af9f477
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user