Browse Source

Fix texpad/texpix inputs not updating (fixes CommonFilters resize issue)

rdb 8 years ago
parent
commit
b41496b17a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      panda/src/gobj/shader.cxx

+ 3 - 1
panda/src/gobj/shader.cxx

@@ -428,7 +428,9 @@ cp_dependency(ShaderMatInput inp) {
       (inp == SMO_view_to_apiclip_x)) {
       (inp == SMO_view_to_apiclip_x)) {
     dep |= SSD_shaderinputs;
     dep |= SSD_shaderinputs;
 
 
-    if ((inp == SMO_alight_x) ||
+    if ((inp == SMO_texpad_x) ||
+        (inp == SMO_texpix_x) ||
+        (inp == SMO_alight_x) ||
         (inp == SMO_dlight_x) ||
         (inp == SMO_dlight_x) ||
         (inp == SMO_plight_x) ||
         (inp == SMO_plight_x) ||
         (inp == SMO_slight_x) ||
         (inp == SMO_slight_x) ||