PDA

View Full Version : Xcode 2.0 Issues


kodex
2005.05.06, 12:10 PM
Ok so I upgraded to tiger today and xcode 2.0 along with it. I Have 2 main issues with my current project.

1)

GLenum err = glGetError();

while (err != GL_NO_ERROR)
{
printf("%s caught at %s: %u\n", (char *)gluErrorString(err), __FILE__, __LINE__);
err = glGetError();
}
Gives me invalid enumerant errors and crashes.

2) one of my textures seems to be broken, and only one. The rest load fine, I double checked to make sure its finding it, checked to make sure it wasnt corrupted, checked to make sure it was still 512x512 ect. I cant seem to figure out why this one is failing an no others, and i cant really get any open gl errors since my first problem =)

Thanks!

arekkusu
2005.05.06, 12:57 PM
Where is it crashing? Do you have a context? You can't submit any GL commands (including glGetError) until you have a context.

kodex
2005.05.06, 01:21 PM
Yea it was working fine for months in the old xcode. Its not a new project or anything. But when i upgraded to tiger and the new xcode it broke a number of things.