diff --git a/kincflags.js b/kincflags.js index 93b086a9..a5e394cd 100644 --- a/kincflags.js +++ b/kincflags.js @@ -1,7 +1,7 @@ // Imported by armorcore/kincfile.js module.exports = { - set_flags: function (flags) { + set_flags: function(flags, platform, graphics) { flags.name = 'ArmorPaint'; flags.package = 'org.armorpaint'; flags.with_d3dcompiler = true; @@ -9,5 +9,7 @@ module.exports = { flags.with_tinydir = true; flags.with_zlib = true; flags.with_stb_image_write = true; + flags.with_krafix = graphics === 'vulkan'; // glsl to spirv for vulkan + flags.with_plugin_embed = platform === 'ios'; } };