Fixed getEnableDepthWrites() naming.

This commit is contained in:
Robert Osfield 2010-10-27 13:49:16 +00:00
parent 13a8e92043
commit cb08e7544e

View File

@ -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
{