pfDrawBin abuse

New Message Reply Date view Thread view Subject view Author view

Wade Olsen (wade++at++slack.shoreline-studios.com)
Mon, 29 Jan 1996 19:30:42 -0800


I'm trying make use of pfDrawBin in a channel draw callback:

void
drawFunc(pfChannel *chan, void *data)
{
  chan->clear();

// pfDraw();
  pfDrawBin(PFSORT_OPAQUE_BIN);

// Some GL state changes here

  pfDrawBin(PFSORT_TRANSP_BIN);
}

Unfortunately for me, I get a memory fault in the first pfDrawBin call. Am
I doing something wrong here?

Wade

-- 
-----------------------------
Wade Olsen, Shoreline Studios
e-mail:	wade++at++shoreline-studios.com
phone:	415-321-1441
fax:	415-321-1352

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:52:18 PDT

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