Added texture size check.
Added texture size check.

fluffyfreak/bgfx,sergeScherbakov/bgfx,ktotheoz/bgfx,marco-we/bgfx,MikePopoloski/bgfx,jpcy/bgfx,mmicko/bgfx,jdryg/bgfx,LSBOSS/bgfx,Synxis/bgfx,elmindreda/bgfx,mendsley/bgfx,janstk/bgfx,attilaz/bgfx,darkimage/bgfx,Vertexwahn/bgfx,Extrawurst/bgfx,elmindreda/bgfx,cuavas/bgfx,fluffyfreak/bgfx,Extrawurst/bgfx,0-wiz-0/bgfx,Synxis/bgfx,marco-we/bgfx,MikePopoloski/bgfx,mmicko/bgfx,aonorin/bgfx,attilaz/bgfx,emoon/bgfx,mcanthony/bgfx,bkaradzic/bgfx,emoon/bgfx,emoon/bgfx,aonorin/bgfx,0-wiz-0/bgfx,elmindreda/bgfx,kondrak/bgfx,aonorin/bgfx,septag/bgfx,0-wiz-0/bgfx,septag/bgfx,mendsley/bgfx,ktotheoz/bgfx,LWJGL-CI/bgfx,andr3wmac/bgfx,ocornut/bgfx,attilaz/bgfx,LSBOSS/bgfx,cyndis/bgfx,Extrawurst/bgfx,mendsley/bgfx,jdryg/bgfx,mcanthony/bgfx,cyndis/bgfx,andr3wmac/bgfx,darkimage/bgfx,bkaradzic/bgfx,ocornut/bgfx,jpcy/bgfx,BlueCrystalLabs/bgfx,fluffyfreak/bgfx,jpcy/bgfx,darkimage/bgfx,Vertexwahn/bgfx,janstk/bgfx,BlueCrystalLabs/bgfx,MikePopoloski/bgfx,kondrak/bgfx,v3n/bgfx,mcanthony/bgfx,cuavas/bgfx,jdryg/bgfx,bkaradzic/bgfx,v3n/bgfx,bkaradzic/bgfx,LWJGL-CI/bgfx,marco-we/bgfx,janstk/bgfx,kondrak/bgfx,septag/bgfx,Synxis/bgfx,cyndis/bgfx,fluffyfreak/bgfx,jpcy/bgfx,Vertexwahn/bgfx,LWJGL-CI/bgfx,v3n/bgfx,LWJGL-CI/bgfx,sergeScherbakov/bgfx,jdryg/bgfx,sergeScherbakov/bgfx,ktotheoz/bgfx,cuavas/bgfx,andr3wmac/bgfx,mmicko/bgfx,LSBOSS/bgfx,ocornut/bgfx,BlueCrystalLabs/bgfx