diff --git a/panda/src/pgraph/shaderGenerator.cxx b/panda/src/pgraph/shaderGenerator.cxx index 14fc80cadc..51595a72fd 100644 --- a/panda/src/pgraph/shaderGenerator.cxx +++ b/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; }