mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 11:58:10 +02:00
Use a distinct KTX cache location for GLES
This commit is contained in:
parent
361b767586
commit
1b35ff9b85
1 changed files with 5 additions and 1 deletions
|
@ -50,7 +50,11 @@ Q_LOGGING_CATEGORY(trace_resource_parse_image, "trace.resource.parse.image")
|
||||||
Q_LOGGING_CATEGORY(trace_resource_parse_image_raw, "trace.resource.parse.image.raw")
|
Q_LOGGING_CATEGORY(trace_resource_parse_image_raw, "trace.resource.parse.image.raw")
|
||||||
Q_LOGGING_CATEGORY(trace_resource_parse_image_ktx, "trace.resource.parse.image.ktx")
|
Q_LOGGING_CATEGORY(trace_resource_parse_image_ktx, "trace.resource.parse.image.ktx")
|
||||||
|
|
||||||
const std::string TextureCache::KTX_DIRNAME { "ktx_cache" };
|
#if defined(USE_GLES)
|
||||||
|
const std::string TextureCache::KTX_DIRNAME { "ktx_cache_gles" };
|
||||||
|
#else
|
||||||
|
const std::string TextureCache::KTX_DIRNAME{ "ktx_cache" };
|
||||||
|
#endif
|
||||||
const std::string TextureCache::KTX_EXT { "ktx" };
|
const std::string TextureCache::KTX_EXT { "ktx" };
|
||||||
|
|
||||||
static const QString RESOURCE_SCHEME = "resource";
|
static const QString RESOURCE_SCHEME = "resource";
|
||||||
|
|
Loading…
Reference in a new issue