Merge branch 'master' into blender2.8
[blender.git] / source / blender / gpu / intern / gpu_buffers.c
index 9c14cc704e18eaecb56f1100bc581874a2cc2c24..6ff4a60610bbd12eed8bd2493c516b8dc1706b93 100644 (file)
@@ -823,7 +823,7 @@ void GPU_interleaved_attrib_setup(GPUBuffer *buffer, GPUAttrib data[], int numda
        for (i = 0; i < numdata; i++) {
                glEnableVertexAttribArray(data[i].index);
                glVertexAttribPointer(data[i].index, data[i].size, data[i].type,
-                                        GL_FALSE, elementsize, BUFFER_OFFSET(offset));
+                                        GL_TRUE, elementsize, BUFFER_OFFSET(offset));
                offset += data[i].size * GPU_typesize(data[i].type);
                
                attribData[i].index = data[i].index;