Ben - 2005-07-26

I am trying to write a spu that does some rendering, but also acts as a passthrough spu.  My spu inherits from the renderspu. The function table is set up the same way the passthroughspu's table is set up except for the functions which the renderspu implements.  The implementation of these functions looks like:

GLint INSETSPU_APIENTRY
myspuCreateContext(const char *dpyName,GLint visBits){
  my_spu.child.CreateContext(dpyName, visBits);
  return my_spu.super.CreateContext(dpyName, visBits);
}

I am having segmentation faults when calling the super  function calls.  Does the renderspu code make an assumption that it is the only renderspu in its branch of the stream and handle resources selfishly? Is there a way around this?  Also, on another note, is it possible for my spu to initialize an internal instance of a different spu? 

Thanks