Parcourir la source

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 il y a 7 mois
Parent
commit
26ac8ce50f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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()