From 39317acd421246be2c9e14b9c15e96555651dad2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 25 Jun 2016 12:35:34 +0100 Subject: [PATCH] Changed return type to unsigned int to make it more compatible with serialization --- include/osg/BufferIndexBinding | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/BufferIndexBinding b/include/osg/BufferIndexBinding index bc564b7b5..782022837 100644 --- a/include/osg/BufferIndexBinding +++ b/include/osg/BufferIndexBinding @@ -56,7 +56,7 @@ class OSG_EXPORT BufferIndexBinding : public StateAttribute /** Get the index target. */ - GLuint getIndex() const { return _index; } + unsigned int getIndex() const { return _index; } /** Set the buffer object that will be bound to the index target. */