shader: Fix compilation warning

This commit is contained in:
rdb 2024-11-26 16:42:45 +01:00
parent 347164103c
commit ac68b85d1f
1 changed files with 2 additions and 2 deletions

View File

@ -1653,11 +1653,11 @@ compile_parameter(ShaderArgInfo &p, int *arg_dim) {
(!cp_errchk_parameter_uniform(p))) {
return false;
}
bool k_prefix = false;
//bool k_prefix = false;
// solve backward compatibility issue
if (pieces[0] == "k") {
k_prefix = true;
//k_prefix = true;
basename = basename.substr(2);
}