diff --git a/panda/src/glstuff/glSamplerContext_src.cxx b/panda/src/glstuff/glSamplerContext_src.cxx index 486ebb0cc5..5f53cf10ce 100644 --- a/panda/src/glstuff/glSamplerContext_src.cxx +++ b/panda/src/glstuff/glSamplerContext_src.cxx @@ -20,7 +20,7 @@ TypeHandle CLP(SamplerContext)::_type_handle; /** * */ -INLINE CLP(SamplerContext):: +CLP(SamplerContext):: CLP(SamplerContext)(CLP(GraphicsStateGuardian) *glgsg, const SamplerState &sampler) : SamplerContext(sampler) diff --git a/panda/src/glstuff/glSamplerContext_src.h b/panda/src/glstuff/glSamplerContext_src.h index 2a07bdd4a1..14637a4b7d 100644 --- a/panda/src/glstuff/glSamplerContext_src.h +++ b/panda/src/glstuff/glSamplerContext_src.h @@ -25,8 +25,8 @@ class CLP(GraphicsStateGuardian); */ class EXPCL_GL CLP(SamplerContext) : public SamplerContext { public: - INLINE CLP(SamplerContext)(CLP(GraphicsStateGuardian) *glgsg, - const SamplerState &sampler); + CLP(SamplerContext)(CLP(GraphicsStateGuardian) *glgsg, + const SamplerState &sampler); ALLOC_DELETED_CHAIN(CLP(SamplerContext)); virtual ~CLP(SamplerContext)();