glGenLists & multiprocessing

New Message Reply Date view Thread view Subject view Author view

Peter Schulze (schulze++at++tnt.uni-hannover.de)
Mon, 16 Dec 1996 16:43:03 +0100


Hi,
I wonder, why I failed to allocate display list indices in
multiprocessing-mode( APP_CULL_DRAW) by using the OpenGL command
"glGenLists", although it works in APPCULLDRAW.

My src looks like:
...
/* fontDLHandle is located in sharedArena to be visible to APP and DRAW
routines*/

 ViewState->fontDLHandle=glGenLists( (GLuint) LAST+1 );

 if(ViewState->fontDLHandle==0)
 {
  pfNotify(PFNFY_FATAL, PFNFY_USAGE,"loadXFont: Couldn't get %d display
lists\n",LAST+1);
  exit(1);
 }
...

fontDLHandle becomes 0, if LAST+1==0 (-> never!) or if the requested
number of indices isn't available.[OpenGL Prog.Guide]

Does anybody knows what's going wrong in APP_CULL_DRAW ?
Thank you, Peter
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:10 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.