I am using new Xcode 4 template and in method draw frame I try putting in method renderAtPoint but it just clears the screen to stetted clear color. What do I have to change to get the class working?
PLS Help...
CGRect rect = [[UIScreen mainScreen] bounds];
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrthof(0, rect.size.width, 0, rect.size.height, -1, 1);
glMatrixMode(GL_MODELVIEW);
glViewport(0, 0, rect.size.width, rect.size.height);
Users browsing this forum: No registered users and 1 guest