Hello 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:

glErr is a macro defined in Source/Base/Base/OSGGL.h and basically is a
wrapper around glGetError that prints the associated error message from
gluErrorString.

> WARNING:
> (c:\projects\dev_opensgbuild\opensg\source\system\action\renderaction
> osgrenderaction.cpp,2301): RenderAction: precheck failed: invalid value
> (0x501)

Hm, the message is not very helpful, it seems your glu library does not
know the error number 0x501, but maybe you have a chance to look it up
in your gl.h header to get an idea whats going wrong.

> 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?

You could try to insert calls to the glErr macro in your application to
locate the spot where an OpenGL error occurs.

        Hope it helps,
                Carsten

-------------------------------------------------------------------------
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