Fixed init num encoders check logic. Issue #1535.
Fixed init num encoders check logic. Issue #1535.

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