diff --git a/include/osg/Image b/include/osg/Image index e665372b6..f3c78afb6 100644 --- a/include/osg/Image +++ b/include/osg/Image @@ -306,9 +306,6 @@ class OSG_EXPORT Image : public Object return getMipmapData(mipmapLevel) + (column*getPixelSizeInBits())/8+row*getRowSizeInBytes(); }*/ - /** Build all mipmap levels and change the image type to contain mipmaps **/ - void buildMipmaps(); - /** Return true if this image is translucent - i.e. it has alpha values that are less 1.0 (when normalized). */ bool isImageTranslucent() const; diff --git a/src/osgWrappers/osg/Image.cpp b/src/osgWrappers/osg/Image.cpp index 015dfa39f..e6e22f016 100644 --- a/src/osgWrappers/osg/Image.cpp +++ b/src/osgWrappers/osg/Image.cpp @@ -350,11 +350,6 @@ BEGIN_OBJECT_REFLECTOR(osg::Image) __C5_unsigned_char_P1__getMipmapData__unsigned_int, "", ""); - I_Method0(void, buildMipmaps, - Properties::NON_VIRTUAL, - __void__buildMipmaps, - "Build all mipmap levels and change the image type to contain mipmaps. ", - ""); I_Method0(bool, isImageTranslucent, Properties::NON_VIRTUAL, __bool__isImageTranslucent,