Josh Yelon 18 роки тому
батько
коміт
5a25035407
1 змінених файлів з 1 додано та 1 видалено
  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.
 
-  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)) {
     _have_alpha_test = true;
   }