diff --git a/panda/src/gobj/shader.cxx b/panda/src/gobj/shader.cxx index eca73217b6..fc4ac4e7ad 100644 --- a/panda/src/gobj/shader.cxx +++ b/panda/src/gobj/shader.cxx @@ -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); }