Fixed issue #1307.
Fixed issue #1307.

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