Hi Eric,

Eric Maslowski wrote:
> Hello,
>   Can someone clarify the purpose of: glErr("RenderAction: precheck");
> (osgrenderaction.cpp, 2301)? I am getting an error when running my
> application in debug mode stating:
> 
> WARNING:
> (c:\projects\dev_opensgbuild\opensg\source\system\action\renderaction
> osgrenderaction.cpp,2301): RenderAction: precheck failed: invalid value
> (0x501)
> 
> I've been digging through the source, but can't seem to isolate where this
> comes from or what triggers it. I have tried checking the render action
> object at various stages of the application, as well as creating it in
> different spots. All seems to be fine...Any ideas?

in general the purpose of the prechecks is to make sure that the OpenGL 
state is ok before OpenSG starts doing certain things (so that if there 
is an error in the postcheck, it's not something that was caused outside 
of OpenSG). If something like that happens I usually just run the 
program through an OpenGL debuggers like bugle or glIntercept and just 
see what causes the actual error, as those check every single command 
whereas OpenSG only checks at certain spots.

Hope it helps
        
        Dirk


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to