Fixed the constness of osg::Image* pointer

This commit is contained in:
Robert Osfield
2009-02-04 11:35:24 +00:00
parent 316a7a4dbd
commit 3c6b26c970
3 changed files with 4 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ class OSG_EXPORT Image : public Object
* accomodate the source image in its offset position.
* If source is NULL then no operation happens, this Image is left unchanged.
*/
void copySubImage(int s_offset,int t_offset,int r_offset,osg::Image* source);
void copySubImage(int s_offset, int t_offset, int r_offset, const osg::Image* source);
enum Origin