   Need help with minmax
  HiI''m trying to get the minmax function of OpenGL to work, but to no avail.  I''m using Visual C++ 6.0 with GLUT.  After initializing I call glEnable(GL_MINMAX) and glMinmax(...).I draw some triangles on the screen and then I try to call glGetMinmax(...), but the values I get are always meaningless -- they are always the defaults (the minimal and maximal possible values), they never change.What am I doing wrong ?  Please assist. - Arie  
  Check the values of glGetError() when setting up the MinMax. Also, make sure GL_ARB_imaging is present in the extension string. Make sure you''re rendering the corrent geometry when MinMax is disabled. Otherwise, I''d be inclined to point at a potential driver bug.  ;  HiThanks for your help, I added a call to glCopyPixels(...) and now it seems to work!  Not sure I understand why, but I''m satisfaid anyway.However, now I have another problem... After I get the minmax values, I need to move on and compute something else, however, I am stuck in the glutMainLoop function forever.  Is there some way I can regain control, or even better, get the display+minmax to work without invoking glutMainLoop?  (I tried and it didn''t seem to work at all) - Arie  