Fixed issue #1019.
Fixed issue #1019.

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