Changed int to GLint for OSX build.

This commit is contained in:
Robert Osfield 2003-02-10 14:23:31 +00:00
parent c2b4a05825
commit c3c70c9415

View File

@ -67,7 +67,7 @@ void VertexProgram::apply(State& state) const
_vertexProgram.length(), _vertexProgram.c_str()); _vertexProgram.length(), _vertexProgram.c_str());
// Check for errors // Check for errors
int errorposition; GLint errorposition;
::glGetIntegerv(GL_PROGRAM_ERROR_POSITION_ARB, &errorposition); ::glGetIntegerv(GL_PROGRAM_ERROR_POSITION_ARB, &errorposition);
if (errorposition != -1) if (errorposition != -1)
{ {