Hello Michael, On 10/10/2014 10:20 AM, Michael Raab wrote: > the problem is solved but actually I'm not sure why. glCreateProgram was > called twice by OSGSimpleSHLChunk::handleGL. Seems that the uiProgram > value that handleGL() retrieves from pWin was no ok. > I solved it by calling frameInit() and frameExit() around > renderAllViewports(). In that case I did not call render() as I do not > what the window to swap() as I have the FBO as target. > Can you tell me what frameInit() is doing?
had to look that up first: it initializes extensions and fetches the relevant function pointers from the GL context to cache them. Without it extensions won't work properly on the context. Cheers, Carsten ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users