diff --git a/src/osg/Image.cpp b/src/osg/Image.cpp index 0882df466..c499db6fc 100644 --- a/src/osg/Image.cpp +++ b/src/osg/Image.cpp @@ -835,56 +835,63 @@ void Image::ensureValidSizeForTexturing(GLint maxTextureSize) } } + +template +bool _findLowerAlphaValueInRow(unsigned int num, T* data,T value, unsigned int delta) +{ + for(unsigned int i=0;i