Fixed warning: operation on ‘currentDirection’ may be undefined.
Merge branch 'master' of github.com:bkaradzic/bgfx
Merge pull request #50 from dariomanesku/master

Updates and fixes.
Added ability to specify arbitrary source pitch when uploading textures.
Added reference weldVertices implementation.
Added workaround when unpack row length is not supported on GLES2.
Cleanup.
Updated 08-update example.
Fixed 14-shadowvolume build for Android.
Added Android x86 and MIPS toolchains.