From c3c70c94158c297c20023315b8e2be89e82acdd2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 10 Feb 2003 14:23:31 +0000 Subject: [PATCH] Changed int to GLint for OSX build. --- src/osg/VertexProgram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/VertexProgram.cpp b/src/osg/VertexProgram.cpp index 1ba00b21b..b2a0a1028 100644 --- a/src/osg/VertexProgram.cpp +++ b/src/osg/VertexProgram.cpp @@ -67,7 +67,7 @@ void VertexProgram::apply(State& state) const _vertexProgram.length(), _vertexProgram.c_str()); // Check for errors - int errorposition; + GLint errorposition; ::glGetIntegerv(GL_PROGRAM_ERROR_POSITION_ARB, &errorposition); if (errorposition != -1) {