From cb08e7544eb811bb5bf9bc313df61ed0a437ffd4 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 27 Oct 2010 13:49:16 +0000 Subject: [PATCH] Fixed getEnableDepthWrites() naming. --- include/osgText/Text | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/osgText/Text b/include/osgText/Text index bae09229d..e9f141f7e 100644 --- a/include/osgText/Text +++ b/include/osgText/Text @@ -39,20 +39,18 @@ public: void setColor(const osg::Vec4& color); - const osg::Vec4& getColor() const { return _color; } - /** * Turns off writing to the depth buffer when rendering text. This only affects text * with no backdrop or text using the DELAYED_DEPTH_WRITES implementation, since * the other backdrop implementations are really only useful for backwards * compatibility and are not worth updating to utilize this flag. */ - bool setEnableDepthWrites() { return _enableDepthWrites; } - void setEnableDepthWrites(bool enable) { _enableDepthWrites = enable; } + bool getEnableDepthWrites() const { return _enableDepthWrites; } + enum BackdropType {