Commit 4c0a9f4b authored by Mathias Goldau's avatar Mathias Goldau

[DOC #42] Also forget to mention that the getTexture() function was a contribution of Jan Forberg

parent cd8203c4
......@@ -138,7 +138,7 @@ osg::ref_ptr< osg::Texture2D > WHistogram2D::getTexture()
}
}
}
// allocate the image data, size x 1 x 1 with 4 rgba floats - equivalent to a Vec4!
image->allocateImage( imageWidth, imageHeight, 1, GL_RED, GL_FLOAT );
image->setInternalTextureFormat( GL_RED );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment