Browse Source

Fixed typo

Josh Yelon 18 years ago
parent
commit
5a25035407
1 changed files with 1 additions and 1 deletions
  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;
   }