From 708ae1c076f7552a531350980644a290458a7ed1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 22 Sep 2017 12:22:58 +0100 Subject: [PATCH] Fixed rendering old sytel outline --- src/osgText/Text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index 7b1afe6dc..b83557955 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -1275,7 +1275,7 @@ void Text::drawImplementationSinglePass(osg::State& state, const osg::Vec4& colo if(_backdropType == OUTLINE) { backdrop_index = 1; - max_backdrop_index = 8; + max_backdrop_index = backdrop_index+8; } else {