Changed int to GLint for OSX build.
This commit is contained in:
parent
c2b4a05825
commit
c3c70c9415
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user