mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
772fd94336
* Basically we want libGL to be loaded second, after librenderdoc. This is in order to make sure dlsym(RTLD_NEXT) can work. * This can be done just by order in the ld command. Unfortunately since renderdoccmd links directly against librenderdoc (rather than LD_PRELOAD) any symbols exported by librenderdoc resolve, so unless we reference a function that isn't exported by librenderdoc, libGL won't be linked in at all. * I realise this is probably a horrible hack, but it works for now.