Use RTLD_NOLOAD when loading librenderdoc.so on Unix.
Use GetModuleHandle when loading renderdoc.dll on Windows.
The upstream documentation states that the RenderDoc library must only be loaded with libloading if the module is already present and gracefully handle its absence otherwise. This means using the above loading strategies on Unix and Windows instead of libloading::Library::new().
Fixed
RTLD_NOLOAD
when loadinglibrenderdoc.so
on Unix.GetModuleHandle
when loadingrenderdoc.dll
on Windows.The upstream documentation states that the RenderDoc library must only be loaded with
libloading
if the module is already present and gracefully handle its absence otherwise. This means using the above loading strategies on Unix and Windows instead oflibloading::Library::new()
.Closes #128.