| Non-Confidential - REL | 101545__00_en | |||
| ||||
| Home > Before you begin > Linux > Capture an OpenGL ES or OpenCL application | ||||
To capture an OpenGL ES or OpenCL application, the system must preload the libinterceptor.so library that you copied onto your target.
To preload the library, define the LD_PRELOAD
environment variable to point at this library. For example:
LD_PRELOAD=/path/to/intercept/libinterceptor.so ./your_app
If you are unable to use LD_PRELOAD on your system, see 6.1 Intercepting without using LD_PRELOAD for an alternative method.
If you have more than one version of your graphics driver on your system and are having issues, see 6.2 Multiple drivers installed on the system for more information.