Apologies if this is a bit vague, but there may be a simple answer. I am running a class which uses a CompositeViewer and a setup with 2 monitors. If I run my scene with one window on one screen (either 0 or 1, it doesn't matter which) it works fine. However, if I add a second view (so there is a window on screen 0 and a window on screen 1) I get an error: Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) If I then call camera->getGraphicsContext()->getState()->checkForGLErrors(osg::State::ONCE_PER_ATTRIBUTE) for both cameras this produces the errors Warning: detected OpenGL error 'invalid enumerant' after applying MyTex 0x8582ef1 repeated a few times MyTex is a class which inherits from Texture2D. So the question is, why does it work on any one screen but not on two? Thanks, Alan.
The information contained in this E-Mail and any subsequent correspondence is private and is intended solely for the intended recipient(s). The information in this communication may be confidential and/or legally privileged. Nothing in this e-mail is intended to conclude a contract on behalf of QinetiQ or make QinetiQ subject to any other legally binding commitments, unless the e-mail contains an express statement to the contrary or incorporates a formal Purchase Order. For those other than the recipient any disclosure, copying, distribution, or any action taken or omitted to be taken in reliance on such information is prohibited and may be unlawful. Emails and other electronic communication with QinetiQ may be monitored and recorded for business purposes including security, audit and archival purposes. Any response to this email indicates consent to this. Telephone calls to QinetiQ may be monitored or recorded for quality control, security and other business purposes. QinetiQ Limited Registered in England & Wales: Company Number:3796233 Registered office: 85 Buckingham Gate, London SW1E 6PD, United Kingdom Trading address: Cody Technology Park, Cody Building, Ively Road, Farnborough, Hampshire, GU14 0LX, United Kingdom http://www.QinetiQ.com/home/legal.html
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

