浏览代码

ThorVG: Explicitly enable embedded texture support with THORVG_FILE_IO_SUPPORT

This was made opt-in in 0.15.6 so we need to define it now.

Co-authored-by: Pāvels Nadtočajevs <[email protected]>
Rémi Verschelde 7 月之前
父节点
当前提交
26ac8ce50f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      modules/svg/SCsub

+ 2 - 0
modules/svg/SCsub

@@ -69,6 +69,8 @@ env_svg.Prepend(CPPPATH=[thirdparty_dir + "inc"])
 
 # Enable ThorVG static object linking.
 env_svg.Append(CPPDEFINES=["TVG_STATIC"])
+# Explicit support for embedded images in svg.
+env_svg.Append(CPPDEFINES=["THORVG_FILE_IO_SUPPORT"])
 
 env_thirdparty = env_svg.Clone()
 env_thirdparty.disable_warnings()