From b13bbe3bdb12e28b2d324c06f009a8371bcf7469 Mon Sep 17 00:00:00 2001 From: Fabian Wiesel Date: Sat, 24 Sep 2016 17:57:58 +0200 Subject: [PATCH] VAO id is a GLuint --- include/osg/VertexArrayState | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/VertexArrayState b/include/osg/VertexArrayState index fd068ca0d..2dfe4ed41 100644 --- a/include/osg/VertexArrayState +++ b/include/osg/VertexArrayState @@ -168,7 +168,7 @@ public: inline void unbindVertexArrayObject() const { _ext->glBindVertexArray (0); } - GLint getVertexArrayObject() const { return _vertexArrayObject; } + GLuint getVertexArrayObject() const { return _vertexArrayObject; } void setRequiresSetArrays(bool flag) { _requiresSetArrays = flag; }