Skip to content

Commit

Permalink
shader: Fix regression fetching material shader inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
rdb committed Oct 11, 2023
1 parent c00f3b1 commit 5685949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panda/src/gobj/shader.cxx
Expand Up @@ -652,7 +652,6 @@ cp_add_mat_spec(ShaderMatSpec &spec) {
case SMO_pixel_size:
case SMO_texpad_x:
case SMO_texpix_x:
case SMO_attr_material:
case SMO_attr_color:
case SMO_attr_colorscale:
case SMO_satten_x:
Expand Down Expand Up @@ -684,6 +683,7 @@ cp_add_mat_spec(ShaderMatSpec &spec) {
break;

case SMO_identity:
case SMO_attr_material:
case SMO_alight_x:
case SMO_dlight_x:
case SMO_plight_x:
Expand Down

0 comments on commit 5685949

Please sign in to comment.