kripken/emscripten — pull request #956 by michaeljbishop (2013-03-16 23:40:20+00:00)
Title: Finding a renderer in the cache now takes into account the current VBO stride.

This solves a problem where a VBO A is drawn with the same size elements as VBO B, but a different stride. In the case where VBO B was drawn first, the renderer that drew VBO B will be used to draw VBA A even though the stride value was different for the two VBOs.

When finding renderers in the cache, the stride of the current vertex buffer object is also taken into account.

This fixes a problem where a renderer could be used to draw a
vertex buffer object with a different stride value than the renderer
captured when the renderer was created.