|
@@ -31,6 +31,6 @@ DXGeomMunger9(GraphicsStateGuardian *gsg, const RenderState *state) :
|
|
|
}
|
|
}
|
|
|
// Set a callback to unregister ourselves when either the Texture or the
|
|
// Set a callback to unregister ourselves when either the Texture or the
|
|
|
// TexGen object gets deleted.
|
|
// TexGen object gets deleted.
|
|
|
- _texture.set_callback(this);
|
|
|
|
|
- _tex_gen.set_callback(this);
|
|
|
|
|
|
|
+ _texture.add_callback(this);
|
|
|
|
|
+ _tex_gen.add_callback(this);
|
|
|
}
|
|
}
|