gl: Get maxTextureLayers on versions 3.0 and up (#2749)
gl: Get maxTextureLayers on versions 3.0 and up (#2749)


bkaradzic/bgfx,bkaradzic/bgfx,LWJGL-CI/bgfx,LWJGL-CI/bgfx,LWJGL-CI/bgfx,bkaradzic/bgfx,bkaradzic/bgfx,LWJGL-CI/bgfx