mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-09-18 15:32:33 +00:00
gl: Fix compiler warning
This commit is contained in:
parent
65878c69be
commit
81380a0d60
1 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,8 @@ namespace gl
|
||||||
case ::glsl::program_domain::glsl_compute_program:
|
case ::glsl::program_domain::glsl_compute_program:
|
||||||
base_name = "shaderlog/ComputeProgram";
|
base_name = "shaderlog/ComputeProgram";
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
fmt::throw_exception("Unexpected program type %d", static_cast<int>(type));
|
||||||
}
|
}
|
||||||
|
|
||||||
fs::write_file(fs::get_cache_dir() + base_name + std::to_string(m_id) + ".glsl", fs::rewrite, str, length);
|
fs::write_file(fs::get_cache_dir() + base_name + std::to_string(m_id) + ".glsl", fs::rewrite, str, length);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue