Does anyone know where OpenGL draws to. I have just tried to switch from using GLUT to using MacOS toolbox comands to create windows and menus (to offer more flexability). I used this simple piece of code to set up a window set as the current drawing port:
SetRect (&bounds, 100, 100, 100 + kWindowWidth, 100 + kWindowHeight);
window = NewCWindow (NULL, &bounds, "\pIt's a polyhedra", true, documentProc, (WindowPtr)-1L, true, 0);
I then tried to draw to it with OpenGL and got a blank screen, what is going on, and what should be going on????