From d94b2dc5afa3cdeee95f0e60b555771df79a2067 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 15 Jan 2026 09:44:25 +0100 Subject: [PATCH] glgsg: Fix INLINE keyword on GLSamplerContext constructor --- panda/src/glstuff/glSamplerContext_src.cxx | 2 +- panda/src/glstuff/glSamplerContext_src.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)();