Josh Yelon 18 tahun lalu
induk
melakukan
5a25035407
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      panda/src/pgraph/shaderGenerator.cxx

+ 1 - 1
panda/src/pgraph/shaderGenerator.cxx

@@ -148,7 +148,7 @@ analyze_renderstate(const RenderState *rs) {
 
 
   // Check if there's an alpha test, color blend, or transparency.
   // Check if there's an alpha test, color blend, or transparency.
 
 
-  if ((_attribs._alpha_test->get_mode() != RendetyrAttrib::M_none)&&
+  if ((_attribs._alpha_test->get_mode() != RenderAttrib::M_none)&&
       (_attribs._alpha_test->get_mode() != RenderAttrib::M_always)) {
       (_attribs._alpha_test->get_mode() != RenderAttrib::M_always)) {
     _have_alpha_test = true;
     _have_alpha_test = true;
   }
   }