Make sure disabling attribute arrays also resets the counter so we don't
do it twice.
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user