|
From: James W. <ja...@fr...> - 2007-09-17 17:19:02
|
James W. Walker wrote: > On Sep 17, 2007, at 6:26 AM, Daniele Cavallini wrote: > >> With log file I found in function gldrawcontext_fbo_new >> >> (kQ3Success == Q3Object_GetProperty( propData.masterDrawContext, >> kQ3DrawContextPropertyGLContext, sizeof(TQ3GLContext), >> NULL, >> &masterGLContext )) >> >> is false >> >> Can it be usefull? > > GLDrawContext_New sets the property for every draw context, so if > propData.masterDrawContext is a valid draw context, I don't know why > it would fail. Correction: If propData.masterDrawContext is a valid draw context AND it has been rendered at least once, the property should exist. Is it possible that you are attempting to render offscreen before you have rendered onscreen? -- James W. Walker, Innoventive Software LLC <http://www.frameforge3d.com/> |