On 11-12-22 09:36 AM, Stefan Eilemann wrote: > I need to detect within a C++ program whether or not I'm running under > VirtualGL, to enable certain optimizations. What is the recommended way to do > this?
When VGL is running it overrides the GLX vendor strings with "VirtualGL". Try glXGetClientString() with GLX_VENDOR. http://www.opengl.org/sdk/docs/man/xhtml/glXGetClientString.xml -Nathan ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ VirtualGL-Devel mailing list VirtualGL-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-devel