tags:

views:

23

answers:

1
+2  A: 

It looks like you are never allocing myGLEngine or setting it to anything. You should set a breakpoint at the activateEngine call and check that myGLEngine is actually the object you think it is.

Joshua Smith
I've created null project from SDK with the same code - it works X_X.
smsteel
That project likely contains more code than is show here. Did you set the breakpoint in the non-working code and examine the ivars?
Joshua Smith
I've cleaned all the code - object is not initializing... Also i've got the same (!) code from sdk - and it works... What is that?
smsteel
Really - i've got copypasted code - in one project (OpenGL ES) it works, and in clean project - it doesn't. Frameworks included are the same. And i don't use OpenGL, i still want instance of class)
smsteel