Hello,
I recently upgraded my Xcode from 5.1 to 6.0.1. After this,Sparrow did not compile anymore (using 2.0).
De problems appear in SPRenderTexture
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D,
mTexture.textureID, 0);
Error: Use of undeclared identifier 'mTexture'; did you mean 'SPTexture'?
and SPLine:
-(void)render:(SPRenderSupport *)support
{
[support bindTexture:nil];
static GLfloat line[4];
line[0] = paX;
line[1] = paY;
line[2] = pbX;
line[3] = pbY;
glColor4f(mRed, mGreen, mBlue, self.alpha);
glLineWidth(mLineWidth);
glVertexPointer(2, GL_FLOAT, 0, line);
glEnableClientState(GL_VERTEX_ARRAY);
glDrawArrays(GL_LINES, 0, 2);
glDisableClientState(GL_VERTEX_ARRAY);
}
Where GL_VERTEX_ARRAY is unknown and I get a scary warning on
[support bindTexture:nil];
Saying: Instance method '-bindTexture:' not found (return type defaults to 'id')
These seem to be related to OPENGL. There where some more, but I managed to fix some of the problems using information from this thread:
http://stackoverflow.com/questions/24024764/errors-showing-for-oes-opengl-statements-in-xcode-6-for-ios8
Still the problems mentioned are unfixed, does anybody have an idea how to solve this?