Problems with glutEnterGameMode

i am using xcode with c++ tool! my code:


glutGameModeString(“640x480:16”);
if (glutGameModeGet(GLUT_GAME_MODE_POSSIBLE)) glutEnterGameMode();
else
{
glutInitWindowSize(640,480);
glutInitWindowPosition(0,0);
glutCreateWindow(“Harmful Danger”);
}

in the console i have message:
2004-10-07 22:44:54.518 Texture_mapping[1462] *** _NSAutoreleaseNoPool(): Object 0x429950 of class NSCFArray autoreleased with no pool in place - just leaking
on winxp it works without any probs!
any ideas?

sorry for the bad english

thanks harry

Don’t worry about it. It’s a bug in GLUT, but unless you’re entering game mode many many times over the course of your application’s run-time (which you aren’t 'cos glutLeaveGameMode doesn’t work – another bug :slight_smile: ) it’s not a problem.

thank you!

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.