Fix missing shader cache path
This commit is contained in:
13
platform/android/shader_cache_data.cpp
Normal file
13
platform/android/shader_cache_data.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <mbgl/platform/platform.hpp>
|
||||
#include <mbgl/android/jni.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace platform {
|
||||
|
||||
// Returns the path to the default shader cache on this system.
|
||||
std::string defaultShaderCache() {
|
||||
return mbgl::android::cachePath + "/mbgl-shader-cache-";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user