1
0
Fork 0

add command line options to enable and disable DDS Texture cache.

This commit is contained in:
Richard Harrison 2019-03-01 19:06:42 +01:00
parent 8e35b7efc7
commit a95daa2a5a

View file

@ -1748,6 +1748,8 @@ struct OptionDesc {
{"terrasync-dir", true, OPTION_IGNORE, "", false, "", 0 },
{"download-dir", true, OPTION_IGNORE, "", false, "", 0 },
{"texture-cache-dir", true, OPTION_IGNORE, "", false, "", 0 },
{"enable-texture-cache", false, OPTION_BOOL, "/sim/rendering/texture-cache/cache-enabled", true, "", 0 },
{"disable-texture-cache", false, OPTION_BOOL, "/sim/rendering/texture-cache/cache-enabled", false, "", 0 },
{"allow-nasal-read", true, OPTION_FUNC | OPTION_MULTI, "", false, "", fgOptAllowNasalRead },
{"geometry", true, OPTION_FUNC, "", false, "", fgOptGeometry },
{"bpp", true, OPTION_FUNC, "", false, "", fgOptBpp },