diff options
-rw-r--r-- | source/blender/gpu/intern/gpu_buffers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c index 56167d466f1..e622943597a 100644 --- a/source/blender/gpu/intern/gpu_buffers.c +++ b/source/blender/gpu/intern/gpu_buffers.c @@ -1364,6 +1364,7 @@ void GPU_buffer_unbind(void) else break; } + attribData[0].index = -1; /* not guaranteed we used VBOs but in that case it's just a no-op */ if (GLEW_ARB_vertex_buffer_object) |