Hello, OpenSG users, i am writing an application that uses several FBOViewports to calculate the ambient occlusion of a model. Since I am doing lots of renderings to retrieve the necessary informations, I am profiling the function calls inside my app to optimize it wherever it's possible. During the profiling I've noticed that the FBOViewport does a lot of glGetError queries, actually breaking the OpenGL pipeline. Looking inside the source code, I've noticed that the queries are enabled both in debug and release. While I understand that these queries are advisable in debug, I think that they are pointless when using the release libraries. Is this correct or maybe I should check my compilation files to disable the unnecessary queries when in release?
Thanks, Enrico ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users