From 0b6841373d05a281d60e0840d0c16f3cca2c1517 Mon Sep 17 00:00:00 2001 From: Lubos Lenco Date: Mon, 17 Jan 2022 13:03:26 +0100 Subject: [PATCH] Update kincflags --- kincflags.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'; } };