line break
This commit is contained in:
parent
6926c87169
commit
01dd4cef33
|
|
@ -1744,7 +1744,6 @@ void DrawMeshInstanced(Mesh mesh, Material material, const Matrix *transforms, i
|
||||||
// Allocate GPU buffer and copy Matrix array to it
|
// Allocate GPU buffer and copy Matrix array to it
|
||||||
instancesVboId = rlLoadVertexBuffer(transforms, instances*sizeof(Matrix), false);
|
instancesVboId = rlLoadVertexBuffer(transforms, instances*sizeof(Matrix), false);
|
||||||
|
|
||||||
|
|
||||||
// Instances transformation matrices are sent to shader attribute location: SHADER_LOC_VERTEX_INSTANCETRANSFORM
|
// Instances transformation matrices are sent to shader attribute location: SHADER_LOC_VERTEX_INSTANCETRANSFORM
|
||||||
if (material.shader.locs[SHADER_LOC_VERTEX_INSTANCETRANSFORM] != -1)
|
if (material.shader.locs[SHADER_LOC_VERTEX_INSTANCETRANSFORM] != -1)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user