diff --git a/panda/src/gobj/textureStage.cxx b/panda/src/gobj/textureStage.cxx index cd29b04040..fd46d1055f 100644 --- a/panda/src/gobj/textureStage.cxx +++ b/panda/src/gobj/textureStage.cxx @@ -217,14 +217,6 @@ compare_to(const TextureStage &other) const { return 0; } -/** - * Writes the details of this stage - */ -void TextureStage:: -write(ostream &out) const { - write(out, 0); -} - /** * Writes the details of this stage */ diff --git a/panda/src/gobj/textureStage.h b/panda/src/gobj/textureStage.h index ebbd1ab1a2..22974874a0 100644 --- a/panda/src/gobj/textureStage.h +++ b/panda/src/gobj/textureStage.h @@ -181,8 +181,7 @@ PUBLISHED: int compare_to(const TextureStage &other) const; - void write(std::ostream &out) const; - void write(std::ostream &out, int indent_level) const; + void write(std::ostream &out, int indent_level = 0) const; void output(std::ostream &out) const; INLINE static TextureStage *get_default();