Make sure texture array uses correct int type.