Skip to content

Commit

Permalink
glgsg: Fix wrong value for deprecated shadowMatrix shader input
Browse files Browse the repository at this point in the history
  • Loading branch information
rdb committed Oct 13, 2023
1 parent e01cb59 commit 5b04147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panda/src/glstuff/glShaderContext_src.cxx
Expand Up @@ -1570,8 +1570,8 @@ reflect_uniform(int i, char *name_buffer, GLsizei name_buflen) {
bind._func = Shader::SMF_compose;
bind._part[0] = Shader::SMO_model_to_apiview;
bind._arg[0] = nullptr;
bind._part[1] = Shader::SMO_apiview_to_apiclip_light_source_i;
bind._arg[1] = nullptr;
bind._part[1] = Shader::SMO_mat_constant_x_attrib;
bind._arg[1] = iname->get_parent()->append("shadowViewMatrix");
} else {
bind._part[0] = Shader::SMO_mat_constant_x_attrib;
bind._arg[0] = InternalName::make(param_name);
Expand Down

0 comments on commit 5b04147

Please sign in to comment.