diff options
-rw-r--r-- | video/out/vo_gpu_next.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index 8b1dec7f45..599ea758d4 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -1093,6 +1093,7 @@ static char *get_cache_file(struct priv *p) char *dir = mp_get_user_path(NULL, p->global, opts->shader_cache_dir); char *file = mp_path_join(NULL, dir, "libplacebo.cache"); + mp_mkdirp(dir); talloc_free(dir); return file; } |