fix typo
This commit is contained in:
parent
362e67e53d
commit
b3aaa4a687
|
|
@ -1539,7 +1539,7 @@ void DrawMeshInstanced(Mesh mesh, Material material, const Matrix *transforms, i
|
|||
unsigned int instancesVboId = 0;
|
||||
|
||||
Shader shader = material.shaderInstanced;
|
||||
if (shader.id == rlGetShaderInstancedIdDefault() && shader.id != rlGetShaderIdDefault()) {
|
||||
if (shader.id == rlGetShaderInstancedIdDefault() && material.shader.id != rlGetShaderIdDefault()) {
|
||||
shader = material.shader;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user