mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
create the shaderlog dir in Emu.Init()
This commit is contained in:
parent
8f1c36d79f
commit
3e433ef05c
7 changed files with 3 additions and 11 deletions
|
@ -369,7 +369,6 @@ void GLFragmentProgram::Compile()
|
|||
const char* str = shader.c_str();
|
||||
const int strlen = ::narrow<int>(shader.length());
|
||||
|
||||
fs::create_path(fs::get_config_dir() + "/shaderlog");
|
||||
fs::file(fs::get_config_dir() + "shaderlog/FragmentProgram" + std::to_string(id) + ".glsl", fs::rewrite).write(str);
|
||||
|
||||
glShaderSource(id, 1, &str, &strlen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue