diff --git a/panda/src/pgraph/texMatrixAttrib.I b/panda/src/pgraph/texMatrixAttrib.I index cc1da4acfb..5618dda7bc 100644 --- a/panda/src/pgraph/texMatrixAttrib.I +++ b/panda/src/pgraph/texMatrixAttrib.I @@ -46,7 +46,7 @@ TexMatrixAttrib(const TexMatrixAttrib ©) : // Description: Builds the linear list of TextureStages if it needs // to be built. //////////////////////////////////////////////////////////////////// -void TexMatrixAttrib:: +INLINE void TexMatrixAttrib:: check_stage_list() const { if (_stage_list_stale) { ((TexMatrixAttrib *)this)->rebuild_stage_list();