Xcode 2.0 Issues

Moderator
Posts: 613
Joined: 2004.09
Post: #1
Ok so I upgraded to tiger today and xcode 2.0 along with it. I Have 2 main issues with my current project.

1)
Code:
    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!

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Sage
Posts: 1,232
Joined: 2002.10
Post: #2
Where is it crashing? Do you have a context? You can't submit any GL commands (including glGetError) until you have a context.
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #3
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.

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Post Reply