Fixed issue #814.
Fixed issue #814.

Synxis/bgfx,septag/bgfx,jpcy/bgfx,MikePopoloski/bgfx,LWJGL-CI/bgfx,v3n/bgfx,andr3wmac/bgfx,MikePopoloski/bgfx,mmicko/bgfx,jdryg/bgfx,andr3wmac/bgfx,elmindreda/bgfx,bkaradzic/bgfx,jpcy/bgfx,mendsley/bgfx,mmicko/bgfx,MikePopoloski/bgfx,Synxis/bgfx,fluffyfreak/bgfx,attilaz/bgfx,LWJGL-CI/bgfx,emoon/bgfx,jdryg/bgfx,fluffyfreak/bgfx,Synxis/bgfx,fluffyfreak/bgfx,emoon/bgfx,elmindreda/bgfx,aonorin/bgfx,jpcy/bgfx,mendsley/bgfx,bkaradzic/bgfx,bkaradzic/bgfx,LWJGL-CI/bgfx,fluffyfreak/bgfx,mmicko/bgfx,aonorin/bgfx,jdryg/bgfx,aonorin/bgfx,septag/bgfx,v3n/bgfx,andr3wmac/bgfx,attilaz/bgfx,elmindreda/bgfx,septag/bgfx,bkaradzic/bgfx,LWJGL-CI/bgfx,emoon/bgfx,attilaz/bgfx,mendsley/bgfx,jpcy/bgfx,jdryg/bgfx,v3n/bgfx