Browse Source

pgraphnodes: Add missing ShaderGenerator stub symbols

rdb 5 years ago
parent
commit
f65fd44c08
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/pgraphnodes/shaderGenerator.h

+ 2 - 2
panda/src/pgraphnodes/shaderGenerator.h

@@ -197,8 +197,8 @@ private:
 // If we don't have Cg, let's replace this with a stub.
 // If we don't have Cg, let's replace this with a stub.
 class EXPCL_PANDA_PGRAPHNODES ShaderGenerator : public TypedReferenceCount {
 class EXPCL_PANDA_PGRAPHNODES ShaderGenerator : public TypedReferenceCount {
 PUBLISHED:
 PUBLISHED:
-  ShaderGenerator(const GraphicsStateGuardianBase *gsg);
-  virtual ~ShaderGenerator();
+  ShaderGenerator(const GraphicsStateGuardianBase *gsg) {}
+  virtual ~ShaderGenerator() {}
 
 
   virtual CPT(ShaderAttrib) synthesize_shader(const RenderState *rs,
   virtual CPT(ShaderAttrib) synthesize_shader(const RenderState *rs,
                                               const GeomVertexAnimationSpec &anim) {
                                               const GeomVertexAnimationSpec &anim) {