Browse Source

shaderpipeline: Mean it when I say "don't specify D_frame"

rdb 1 năm trước cách đây
mục cha
commit
941372e4c0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      panda/src/display/shaderInputBinding_impls.cxx

+ 1 - 1
panda/src/display/shaderInputBinding_impls.cxx

@@ -1813,7 +1813,7 @@ int ShaderBufferBinding::
 get_state_dep() const {
   // We don't specify D_frame, because we don't (yet) support updating shader
   // buffers from the CPU.
-  return Shader::D_frame | Shader::D_shader_inputs;
+  return Shader::D_shader_inputs;
 }
 
 /**