Browse Source

shader: Fix a rename I forgot to commit earlier

rdb 1 year ago
parent
commit
c27056cfc9
1 changed files with 4 additions and 1 deletions
  1. 4 1
      panda/src/gobj/shader.h

+ 4 - 1
panda/src/gobj/shader.h

@@ -293,12 +293,15 @@ public:
   };
 
   enum ShaderMatFunc {
+    // Direct fetch from shader input
+    SMF_shader_input,
+
+    // Fetched via ShaderMatPart cache
     SMF_first,
     SMF_compose,
     SMF_transform_dlight,
     SMF_transform_plight,
     SMF_transform_slight,
-    SMF_shader_input_ptr,
   };
 
   struct Parameter {