During replay, make sure calls to exported GL functions work. Refs #366
During replay, make sure calls to exported GL functions work. Refs #366

* These functions are intended only for hooking via LD_PRELOAD, but they
  will also be picked up by any replay application calling into GL. We
  need to make sure then that the real function pointer is fetched in
  time to be able to call it.

moradin/renderdoc,googlestadia/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,googlestadia/renderdoc,moradin/renderdoc,Zorro666/renderdoc,Yours3lf/renderdoc,Velro/renderdoc,googlestadia/renderdoc,baldurk/renderdoc,Velro/renderdoc,Yours3lf/renderdoc,adrianbu/renderdoc,moradin/renderdoc,TurtleRockStudios/renderdoc_public,baldurk/renderdoc,Lssikkes/renderdoc,Zorro666/renderdoc,etnlGD/renderdoc,michaelrgb/renderdoc,Lssikkes/renderdoc,etnlGD/renderdoc,Lssikkes/renderdoc,Yours3lf/renderdoc,Lssikkes/renderdoc,michaelrgb/renderdoc,moradin/renderdoc,Lssikkes/renderdoc,etnlGD/renderdoc,TurtleRockStudios/renderdoc_public,Zorro666/renderdoc,Anteru/renderdoc,victor-moya/renderdoc,cgmb/renderdoc,victor-moya/renderdoc,Lssikkes/renderdoc,Anteru/renderdoc,cgmb/renderdoc,victor-moya/renderdoc,Anteru/renderdoc,baldurk/renderdoc,Velro/renderdoc,Anteru/renderdoc,TurtleRockStudios/renderdoc_public,michaelrgb/renderdoc,cgmb/renderdoc,Velro/renderdoc,etnlGD/renderdoc,adrianbu/renderdoc,Velro/renderdoc,etnlGD/renderdoc,Anteru/renderdoc,michaelrgb/renderdoc,Yours3lf/renderdoc,victor-moya/renderdoc,Anteru/renderdoc,TurtleRockStudios/renderdoc_public,TurtleRockStudios/renderdoc_public,Zorro666/renderdoc,Yours3lf/renderdoc,baldurk/renderdoc,Anteru/renderdoc,baldurk/renderdoc,Yours3lf/renderdoc,adrianbu/renderdoc,googlestadia/renderdoc,victor-moya/renderdoc,moradin/renderdoc,cgmb/renderdoc,etnlGD/renderdoc,adrianbu/renderdoc,googlestadia/renderdoc,TurtleRockStudios/renderdoc_public,adrianbu/renderdoc,victor-moya/renderdoc,michaelrgb/renderdoc,adrianbu/renderdoc,googlestadia/renderdoc,Velro/renderdoc,cgmb/renderdoc,Zorro666/renderdoc,moradin/renderdoc