mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
libobs-d3d11: Implement shader cache
Co-Authored-By: derrod <dennis@obsproject.com>
This commit is contained in:
committed by
Lain
co-authored by
derrod
parent
2f9df1372d
commit
e7a3ffdb54
@@ -567,6 +567,12 @@ static bool MakeUserDirs()
|
||||
return false;
|
||||
if (!do_mkdir(path))
|
||||
return false;
|
||||
|
||||
if (GetProgramDataPath(path, sizeof(path), "obs-studio/shader-cache") <=
|
||||
0)
|
||||
return false;
|
||||
if (!do_mkdir(path))
|
||||
return false;
|
||||
#endif
|
||||
|
||||
#ifdef WHATSNEW_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user